show_subcategory_list hides New, Unread and Top from menu

I noticed this over on @john_mardlin’s, where show subcategory list is enabled.

If I go to…

There is no “Latest, Top, New”

However, if I go to…

There is.

I thought “maybe there’s a good reason for Discourse behaving like that when sub-categories are listed”, but then I noticed that the “Latest, Top, New” menu was also suppressed in parent categories that didn’t have any sub-categories, like this one:

That strikes me as a UX glitch. I reproduced this on Try to confirm that this isn’t happening due to a customisation on Coinbase’s forum.


Hmm is this a bug @eviltrout?

Looks like a legit bug! Here’s a fix: