Only 30 topics appear when filtering by category, subcategory, and no tags

AI-generated summary

Bug Report: Only 30 topics appear when filtering by category, subcategory, and no tags.

jomaxro reported a bug in Discourse 1.7.0.beta5 where applying specific filters (category, subcategory, and no tags) returns only 30 results, even if more than 30 topics match the filters. To reproduce, select a category, subcategory, and no tags, and count the topics. The expected result is all matching topics, but only 30 appear. An example of this issue can be found at https://discourse.stonehearth.net/tags/c/support/other-reports/none.

gseven suggested that the issue in the ‘Notes:’ section might be related to another bug ([discourse bug report](https://meta.discourse.org/t/select-tag-change-category-tag-s till-selected/51741?u=gseven)). jomaxro confirmed that the presence of more than 30 matching topics was determined by manually counting without the “no tags” filter and by applying bulk actions to the 30 visible topics, which revealed more topics upon refreshing the page.

Summary:

Oddly specific bug, as I can only get it to happen with 3 specific filters. When a topic is filtered by category, subcategory, and set to no tags it only displays 30 results, even if there are more than 30 topics that match the filters.

Steps to reproduce:

  1. Select category from drop down
  2. Select subcategory from second drop down
  3. Select no tags from tag filter
  4. Count topics…

Expected Results:

All topics that match filter appear

Actual Results:

Only 30 topics appear despite more than 30 topics matching filter.

Notes:

Unknown if this is related, or a separate bug - if you select all the topics listed and change the category or add a tag, the page reloads with an “unfiltered latest” view, and the page needs to be refreshed to show the next set of results.

Link:

One example of where this is happening: Topics tagged none

Version Number:

Discourse 1.7.0.beta5 (discourse.stonehearth.net)

System Information:

Windows 10 Education, Chrome Stable 54

Your ‘Notes:’ part is possibly related to this:
Select tag, change category, tag still selected

Can i ask, where does it say there are more than 30 topics matching the filters?

It doesn’t “say” anywhere - I had to count manually without the “no tags” filter set. The other way I knew was if I modified all 30 topics that appeared via a bulk action, and then refreshed the page so the filter reapplied, more topics appeared.

3 « J'aime »