Hi guys,
I currently have a search bar set up which takes the user to a results page which is set up using a repeater. I have limited the results page to show 12 results max and have a 'Load More' button for the user to then bring up more results.
I get the correct results as per the search and they show the correct number of results (ie 12 max) but when I then click on the 'Load More' button it just brings up all of the data from my dataset and completely disregards the search I have conducted. I have connected the button to my dataset and set it up to load more when clicked but can't seem to get it to bring up the next batch of results for my search.
Is there some coding that is needed to get this to work?
Thanks
Matt
As per my knowledge, load more button load the data from the dataset without any filtering .. I guess you need to use small coding to achieve what you want... Some idea to achieve uing code what you want will be... 1.Use wix data query with limit to get the first 12 results from the dataset. . 2. Store this query in a variable. 3.when load button is pressed use this saved query and skip the initial 12 results and get next 12 results and apply it to the repeater.... Have a look at our API reference or older forum post and try out with the above logic... If it's not working just post the code you have tried and we will help you...