cosmocode / simplenavi

Create a simple navigation tree based on DokuWiki namespaces
http://www.dokuwiki.org/plugin:simplenavi
GNU General Public License v2.0
14 stars 11 forks source link

Sort namespaces by headline of start-page #8

Closed igittigitt closed 1 year ago

igittigitt commented 8 years ago

Namespace lists are currently ordered by their namespace. This leads to strange results, if the option "use_heading" is set and headings differ from namespace-name.

To avoid this, the use_heading option should be honored and if set, the list should be sorted (natural oder ascii) by the headlines of the namespaces start-page.

igittigitt commented 8 years ago

Hmm, maybe i made a mistake. As i told above the simplenavi should order the list by namespace startpage title if the "use_heading" option is set. What i made in my pull request was making this a separate option. I think it would be better to void the extra option an use the global setting for using headings. What do you think?

mrclschstr commented 6 years ago

Any update on this? Would really appreciate an update :smiley:

splitbrain commented 1 year ago

fixed with recent refactoring