Show latest subcategory topics in /categories


(ABiS) #1

Hi all,

as per subject: it looks like the ‘Latest’ column in the /categories page only lists topics from the category but not from any of the subcategories.

In my case I’ve got a few cases where the category has no topics while its subcategories do but by looking at /categories it seems there are no post at all.

I guess just a nice to have


Embedded forum links are not refreshing the browser after click
(Sam Saffron) #2

I think its a bit more than a nice to have, in some places this looks really bad.

The tricky thing though is that we would be mixing categories in that list so may want to display the subcategory name.

@neil is there a simple change you could put in place to pull from category and all sub categories for the topics selected in /categories.


(Neil Lalonde) #3

I’m seeing subcategories included on the /categories page. It’s hard to tell because there are no badges, but the topics are there.

There’s definitely a problem. We’re looking into it.


(ABiS) #4

thanks neil, they weren’t with ‘latest-release’ but I’ve upgraded to master since then and you are right, the topics from the subcategories are there now


(Neil Lalonde) #5

For the record, this problem was fixed by this commit:

https://github.com/discourse/discourse/commit/659546c4e4fb338951c1761ebaa43f8bea91bbd3


(Jeff Atwood) #6