WordPress.org

Make WordPress Core

Opened 6 years ago

Last modified 12 months ago

#28118 new defect (bug)

category sort bug

Reported by: slickremix Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.9
Component: Taxonomy Keywords: needs-patch
Focuses: administration Cc:

Description

I've noticed when creating categories with subcategories in the admin category page, that when you try and sort the Name, Slug or Posts it works great, however any subcategories that had a - next to them are now gone, and they will not come back after page refresh. The subcategories are still attached to the proper main category, it just lacks the visual - or -- before the name.

Attachments (2)

categories-no-sort.png (50.4 KB) - added by nikolov.tmw 3 years ago.
Categories as seen without sorting applied
categories-sort-by-name.png (48.2 KB) - added by nikolov.tmw 3 years ago.
Categories as seen *with* sorting applied

Download all attachments as: .zip

Change History (14)

#1 @wonderboymusic
6 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release

#2 @nikolov.tmw
6 years ago

I'm wondering if the category level visual clue should exist or not in the first place.

I feel it might create confusion for the users in the sense that it might seem as if a certain category is a child of another category while that's not the case.

Also imagine what's going to happen if a plugin/theme developer forced the default landing page to show terms ordered by a certain criteria(maybe it makes more sense for a content editor to see the categories ordered by name instead of by ID). Out of a sudden the terms will show hierarchy which most likely doesn't match the actual hierarchy.

#3 @DrewAPicture
5 years ago

  • Component changed from General to Taxonomy

#4 @chriscct7
4 years ago

  • Keywords ux-feedback added

Anyone have any UX feedback on comment:2

Last edited 4 years ago by chriscct7 (previous) (diff)

This ticket was mentioned in Slack in #design by karmatosed. View the logs.


3 years ago

#6 @melchoyce
3 years ago

Can anyone add some screenshots or a video/gif of this behavior?

#7 @nikolov.tmw
3 years ago

I think the problem might have been that refreshing the page still has the orderby parameter, and the solution is to simply click on the Categories link in the main navigation(as it doesn't have any orderby parameters).

I can confirm that when any sorting is applied, there are no hierarchy indicators, but I believe this is by design. I'm attaching screenshots without/with sorting.

@nikolov.tmw
3 years ago

Categories as seen without sorting applied

@nikolov.tmw
3 years ago

Categories as seen *with* sorting applied

#8 @slickremix
3 years ago

@nikolov.tmw Thanks for adding those screenshots, maybe if I had done that we wouldn't still be here 3 years later :) And also big thanks to @melchoyce for the follow up!

This ticket was mentioned in Slack in #design by karmatosed. View the logs.


22 months ago

#10 @melchoyce
22 months ago

I think it's hard to gauge the right solution here without knowing more about when and why people sort categories. @slickremix, I know it's been a while, but do you remember what you were doing when you discovered this issue? Do you use and sort your categories often?

This ticket was mentioned in Slack in #design by karmatosed. View the logs.


12 months ago

#12 @karmatosed
12 months ago

  • Keywords ux-feedback removed

Today in design triage this ticket came up. As no more details have been shared, for now removing the ux-feedback keywords. They can always be added back in.

Note: See TracTickets for help on using tickets.