"show more" on search weird behavior when no more items


(lid) #1

replicate issue

  1. click on search button
  2. search for a phrase with a limited results for example search for the number:
    403

you will get

now clicking on “show more” button
will result in , yes the same result, the main difference is that the “show more” button is not going to work anymore

###Expected behavior:

I am not sure if the system knows ahead of time if there are more results or not at that point.

if it does it probably should not show the more result button or disable it.

if it doesn’t it should show a message of
no more results and a back button when the user click on it. is right now it does reload the the list with the same result.


(Sam Saffron) #2

I fixed this:

https://github.com/discourse/discourse/commit/aa7ed0b2ba4c1f83534bb772efe2b5876a2bdd26

You triggered a mis-feature. when clicking more and you had a number it cause a search by topic_id.


(Sam Saffron) #3