Hello,
I discovered this with zpBootstrap, but changing to the built-in Zenpage theme produces the same results, so I don't think it's a theme issue.
If I click a tag link, and there are multiple pages of results, both infinite scroll and regular pagination works - it shows the additional pages appropriately.
However, if I do a Manual Search and there are multiple pages of results, whether using infinite scroll or regular pagination, clicking the second page results in an error. If using infinite scroll, it just says there are no more results, but if I switch to regular pagination, I get a 404 type error message:
Zenphoto Error: the requested object was not found.
Album: search/2
While it's not apparent in the error message, the URL does show the search term with the page number:
IE: (mysite)/search/2/?search=David
Further, if I start with a tag link, and then do Manual Search with only tags checked within that tag links' result, the URL will remain a tag URL and not a search URL and the more images/pagination links will work:
IE: 107 Hits for (2010-2019) AND (Christmas) with the URL of:
(mysite)/tags/%282010-2019%29+AND+%28Christmas%29/2/
However, if I select ALL in the what to search in dropdown rather than the default just tags for the "within" search, it will convert to a search URL and the more images/pagination links will NOT work. The URL in this case will be:
(mysite)/search/?search=%282010-2019%29+AND+%28Christmas%29
Finally, in troubleshooting this, I notice that searching "Titles" only in the dropdown does not limit to a titles only search and searching "Description" only does not limit a search to only descriptions, but both seem to be searching everything, as the number of results is the same as when everything being searched (and the results shown also show all results, whether the title or description alone has the search term).
Searching by "Date" only does not work correctly either, in the same manner, as it picks up all tags that have that number, even if the date of the picture is not the date searched (IE, searching for 2010 will give all results for pictures dated 2010-2019 in my setup, as those pictures have the TAG: 2010-2019, even though the individual pictures are dated by their individual year - this shows that the "Date" only search option is really searching the tags as well, as is the Title and Description options. - this makes this dropdown "what to search" feature useless.
*I THINK the summary is*: All tag searches will work correctly, and additional pages will show (this will be a /tags/ URL). ALL NON-TAG searches or searches that combine "Tags" and non-tags will not show additional pages (this will be a /search/ URL). Additionally, all non-tag search selections from the search dropdown (Title/Date/Description, etc.) will not limit themselves to those choices but will instead search everything.
These all seemed to work correctly in 1.5.9, from what I recall. Thanks in advance!