Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of structure elements by adding a new docstruct #3413

Closed
andre-hohmann opened this issue Apr 8, 2020 · 1 comment · Fixed by #4190
Closed

Order of structure elements by adding a new docstruct #3413

andre-hohmann opened this issue Apr 8, 2020 · 1 comment · Fixed by #4190
Assignees

Comments

@andre-hohmann
Copy link
Collaborator

Problem

It is presumed that the list of structure elements which is shown by adding a new structure element in the metadata editor is sorted according the internal names of the strucure elements.
For the lucky users, who are not familiar with the ruleset, that order is very uncomfortable.

sortingstructureelements01

solution

The structure elements should be sorted according to their "official" displayed names.

There has been a similar problem with the sort order of the metadata elements.

@matthias-ronge
Copy link
Collaborator

matthias-ronge commented Jan 8, 2021

The order from the ruleset is the order of the <permit> rules; if unspecified="unrestricted", followed by the divisions not mentioned in a <permit> rule in alphabetical order according to the display language. This is for if you don't use unspecified="forbidden", you can move frequently used elements to the beginning of the (probably lengthy) list.

Goal: The sorting should take place if the ruleset setting “order as in the rule set, otherwise alphabetical” is off. If it is on, the order of the ruleset should be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants