Search shows incorrect number of results until scrolled to bottom

Search first shows a smaller number of results, updates when you actually scrolled to the bottom.

Example:
https://forum.ionicframework.com/search?q=Did%20you%20remote%20debug%20the%20problem%20on%20the%20device%20already%3F"

First shows:
50 results for Did you remote debug the problem on the device already?"

When scrolled all the way down shows:
175 results for Did you remote debug the problem on the device already?"

If the number of real results is just unknown because of paging, I suggest showing “50+ results” as a workaround.

6 Likes

Sure can you add this to your list @techapj? The suggestion to use 50+ is a good one. Low priority.

3 Likes

Done via:

https://github.com/discourse/discourse/commit/89d1107f8131b416f4749f4f6aec4db342cbe009

7 Likes