Okay
  Public Ticket #3547871
search has stopped working
Closed

Comments

  •  1
    Glenn started the conversation

    Hi again, 

    The search function has stopped working in the player for my All Tracks page. I've tried both the sticky search bar and the tracklist search bar but neither are returning any results. All other filters on the page are working fine.

    The login I provided for Max on the private posts is still valid. Please help, this is the last hurdle (I hope!).

    Thanks,

    Glenn

    Attached files:  Screen Shot 2023-12-21 at 2.54.00 pm.png

  •  665
    Alexandre replied

    Hi Glenn, 

    Just wanted to let you know that I'm currently investigating your site.

    Thanks,


    Alexandre from the Sonaar.io Crew

  •  665
    Alexandre replied

    Hi Glenn, 


    Tracks had to be indexed. I went to wp-admin>mp3 player>tools>tracks indexation

    And I have clicked on "rebuilt index"

    The search should work now. 

    Please read the article here about the lazy load option to understand well the implication to using lazy load pagination

    Thanks,


    Alexandre from the Sonaar.io Crew

  •  1
    Glenn replied

    Thanks Alexandre, 

    That makes sense as I had to re-upload all the tracks recently after migrating from local back to the server using a backup file without media. So the original indexing would have been lost.

    Thanks for the extra tip about the lazy load, I'll read it now.

    Hope you get a break over the festive season :)

    Cheers,

    Glenn


  •  1
    Glenn replied

    Hi again,

    So if I understand correctly from that lazy load documentation, the filters using ACF as the source may only return results that have been loaded up to that point. Would you say that I should consider not using lazy load for the current 312 tracks? 

    We're anticipating the library will double in size over the next 12 months so I assume laxy load would become more relevant at that point?

    Thanks,

    Glenn

  •  665
    Alexandre replied

    Hi Glenn, 

    Where have you seen the filters using ACF as the source may only return results that have been loaded?

    I believe that having 300 tracks is sufficient to gain an advantage from using lazy loading.

    Thanks,


    Alexandre from the Sonaar.io Crew

  •  1
    Glenn replied

    That was my interpretation of this final paragraph:

    However, for lazy loaded tracklists, the query taps into WordPress’s built-in capabilities, working server-side. This means that while you can quickly search on thousands of tracks based on track names and descriptions, searching by categories, tags or other custom fields might be limited. Choose the method that best fits your needs and the size of your playlist.

    But perhaps I'm wrong, because the filtering with ACF sources seems to be working fine for all tracks regardless of their visibility at the time of searching.

    Thanks,

    Glenn

  •  665
    Alexandre replied

    Please let us know is you observe some issue. 

    Have a nice day.

    Thanks,


    Alexandre from the Sonaar.io Crew