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

Numerically sort concepts by notations if configured #677

Closed
nichtich opened this issue Mar 4, 2022 · 4 comments
Closed

Numerically sort concepts by notations if configured #677

nichtich opened this issue Mar 4, 2022 · 4 comments

Comments

@nichtich
Copy link
Member

nichtich commented Mar 4, 2022

sortConcepts allows to numerically sort concepts but this feature is not used in Cocoda yet. Whether to sort numerically depends on the vocabulary. The information should be available in JSKOS extension field DISPLAY where we already have hideNotation (also not respected in Cocoda yet). Requires gbv/bartoc.org#162.

@stefandesu
Copy link
Member

Is the DISPLAY extension field documented anywhere? hideNotation is clear (and is already set on a few vocabularies like GND), but I couldn't find any example for the sorting.

@stefandesu
Copy link
Member

hideNotation is now respected. Notations are still shown when the label is not available or hidden.

@nichtich
Copy link
Member Author

nichtich commented Mar 8, 2022

Could be DISPLAY.numericalNotation (with false as default)

@stefandesu
Copy link
Member

DISPLAY.numericalNotation is now respected. Unfortunately, there is no vocabulary currently available to test, but it works well with a local test vocabulary.

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

No branches or pull requests

2 participants