Islandora / advanced_search

This module creates several blocks to support searching. It also enables the use of Ajax with search blocks, facets, and search results.
https://www.drupal.org/project/advanced_search
GNU General Public License v2.0
3 stars 9 forks source link

"items_per_page=50" (in URL) in multiple boolean search, it causes no results #16

Closed kylehuynh205 closed 10 months ago

kylehuynh205 commented 1 year ago

Search with multiple boolean conditions with both of them are "keyword", and then click item per page as 50, it show no results, even though click item per page 25 is working fine.

image

Search Link: https://memory.digital.utsc.utoronto.ca/search-results?items_per_page=26&a%5B0%5D%5Bf%5D=all&a%5B0%5D%5Bi%5D=IS&a%5B0%5D%5Bv%5D=Orientation&a%5B1%5D%5Bc%5D=OR&a%5B1%5D%5Bf%5D=all&a%5B1%5D%5Bi%5D=IS&a%5B1%5D%5Bv%5D=game&page=0

TEMPORARY SOLUTION: Hide the item_per_page=50 option for multiple search conditions.

TODO: To find the real reason which causes "items_per_page=50" (in URL) in multiple boolean search, shows no results.

kylehuynh205 commented 1 year ago

Work with other search conditions: https://memory.digital.utsc.utoronto.ca/search-results?items_per_page=50&a%5B0%5D%5Bf%5D=all&a%5B0%5D%5Bi%5D=IS&a%5B0%5D%5Bv%5D=Sanger&a%5B1%5D%5Bc%5D=AND&a%5B1%5D%5Bf%5D=all&a%5B1%5D%5Bi%5D=IS&a%5B1%5D%5Bv%5D=Access&display=grid