show_subcategory_list hides New, Unread and Top from menu

(Erlend Sogge Heggen) #1

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.

(Jeff Atwood) #2

Hmm is this a bug @eviltrout?

(Robin Ward) #3

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

(Robin Ward) #4