Hi,
I have created a web search form and the underlying view is throwing out HTML into a $$viewbody field on the $$searchtemplatedefault form.
The view is set to display 20 rows per page and I have a couple of javascript buttons at the bottom to navigate from page to page. The JS buttons simple increment/decrease the &start=(number) by 20 each time.
The sort is done through having a sort on a hidden column in the notes view and then using the &SearchOrder=4 in the URL.
Problem is that when users perform a search, the first 20 entries are listed, sorted properly and then the next 20, are still sorted, but do not follow on from the fist 20.
e.g. If I “search by price” between €100,000 and €500,000, there are 200 documents matching.
On the first page of results, document 1 may be 101,000 and document 20 is 499,000 the next page will then have the top entry as being 101,000 and the last entry as being 499,000 if that makes sense. Obviously what should be happening is the results should be increasing on each page.
Please help.
Matt.