2009-11-20, 21:54:29
Patricia Wrote:there must be something I don't understand about sorting (if no priority set to pages) but if I set priority it's in correct order, and even if I don't set, it's in the same order as page list in the admin pages-tab (where it has never been in correct order for me...), so if there is a bug, it's not in your function, but in the base-code (or more probably on my sideThe administration panel does not use any kind of sorting I guess.
Also, you're not alone. I haven't really grasped the sorting of GetSimple's menu either. That's why I mentioned having to write my own sorting function sometime.
Ultimately it would be nice if sorting went something like this:
- Check for specified sorting order.
- Rank it from lowest (1) to highest (20).
- Those with no specified priority (-) should be last.
- If pages have the same priority (1-20) or non-priority (-) they should be sorted alphabetically.
- If alphabetical sorting cannot be applied (due to having the same menu titles) they should be sorted by publication/revision date.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!