Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#13329 closed defect (bug) (fixed)

Menu UI should (hierarchically?) sort static pages

Reported by: Denis-de-Bernardy Owned by: filosofo
Milestone: 3.0 Priority: high
Severity: critical Version: 3.0
Component: Menus Keywords: ux-feedback has-patch
Focuses: Cc:


When you've multitudes of pages, nested hierarchically all over the place, the Menu UI offers pages in a seemingly random order.

They should at least be sorted alphabetically. Showing the hierarchy would be nice too, in order to differentiate between pages with identical name but different parents.

Attachments (1)

sort-menu-pages-by-order-then-title.13329.diff (1.5 KB) - added by filosofo 11 years ago.

Download all attachments as: .zip

Change History (13)

#1 @filosofo
11 years ago

The behavior should be the same as that of browsing the edit page pages, in that the ancestors of the pages are present.

I don't understand how it could be both sorted alphabetically and hierarchical. Could you elaborate, please?

#2 @Denis-de-Bernardy
11 years ago

  • Keywords ux-feedback added; ui ux removed

I was meaning using the order from edit pages, yes. The one that defaults to hierarchical + menu order, alphabetical.

#3 @johnonolan
11 years ago

  • Cc john.wp@… added
  • Priority changed from normal to high

Denis is right, it is sorted alphabetically and hierarchically, see http://drp.ly/10dvaw and he's also right that this isn't being translated across to the pages metabox on the menus screen, see http://drp.ly/10dw6Z[[BR]]

On my install the page which has a child (Page Five) also isn't even showing up in the metabox at all.

#4 @johnonolan
11 years ago

http://drp.ly/10dw6Z <== link got caught up with BR tag

#5 @nacin
11 years ago

  • Severity changed from normal to critical

#6 @filosofo
11 years ago

  • Owner set to filosofo
  • Status changed from new to assigned

I'll do this. I know exactly where and why it's happening.

#7 @filosofo
11 years ago

  • Keywords has-patch added

Patch sorts pages in sidebar by menu order then title.

The big chunk that's removed I put in there originally when we were actually nesting pages in their hierarchy, so it made more sense for a page down in the hierarchy not to be orphaned (something the admin edit pages avoid, too).

However, at some point the nested hierarchy was removed so handling orphans like that no longer makes sense from a UX point of view. And I believe no one is pushing for pages to be ordered by publish date as Jane originally requested.

#8 @automattor
11 years ago

(In [14744]) Order pages in menu box by menu_order, title. Props filosofo. see #13329

#9 @ryan
11 years ago

Losing hierarchy is a bummer though. Any other approaches to showing parentage without having to mess with hierarchies? Maybe show parent title as a parenthetical?

#10 @koopersmith
11 years ago

I'm not up to speed here, but see #13217.

#11 @ryan
11 years ago

We'll live with it as is for 3.0.

#12 @ryan
11 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.