Jump to content

[Bug] Search results issue when searching from a category


Recommended Posts

Here's the steps to replicate the issue here on the IPS forum:

  1. Go to this page: https://invisioncommunity.com/forums/forum/492-community/
  2. Enter a term in the quick search field. Let's use question for this example.
  3. Select Search In This Forum and search.
  4. You'll get a page with 3118 results and 125 pages with this url:
    https://invisioncommunity.com/search/?q=question&quick=1&type=forums_topic&nodes=492

 

 

Here's a couple of problems:

#1 ===

Now look at the url for page 2 in the pagination area and you'll see it's:

https://invisioncommunity.com/search/?q=question&type=forums_topic&nodes=492&updated_after=any&sortby=relevancy&page=2

If you do open this link in a new browser tab however you'll get a page with 0 results. This is caused by the &quick=1 part missing from the pagination link.

 

#2 ===

If you do click on page 2 and instead of a new tab let ajax load the results you'll get this url:

https://invisioncommunity.com/search/?&q=question&type=forums_topic&page=2&quick=1&nodes=492&search_and_or=or&sortby=relevancy

The loaded results are still 3118 but the url has different values in it. Specifically updated_after=any is removed and search_and_or=or is added instead.

(The site I originally noticed the issue on goes from ~7k results to ~10k with more pages, but I can't replicate this results count change here on IPS's forum.)

Edited by teraßyte
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...