You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At my local installation using a vocabulary with notated groups.
What steps will reproduce the problem?
Set skosmos:showNotation "false"; skosmos:sortByNotation "true"; for the locally installed vocabulary in question (similarly to https://finto.fi/yso-aika/fi/ where these configuration settings are applied and working)
Observe the Groups tab
What is the expected output? What do you see instead?
I expect to see the values ordered by notation codes. For YSO-aika, this is working in the Hierarchy tab. Looking at the code, it seems like sorting is done differently:
I'd like to understand this situation a bit better -- which vocabularies would this affect, and why is this enhancement important? We could prioritize our work better once these are clear. :)
The vocabulary in question is Metatietosanasto (https://finto.fi/mts/fi/) for which I am the technical maintainer. Metatietosanasto has its hierarchy based on groups. The problem arises from the fact that users would like to have (some) groups in groups tab to be sorted in a fixed way but this is not possible at the moment due to the issue described above. See, e.g., http://urn.fi/URN:NBN:fi:au:mts:m4979 where a more appropriate ordering would be non-alphabetical "Teos, Ekspressio, Manifestaatio, Kappale, Toimija, Suhteet, Ajanjakso, Paikka" listing in Finnish and likewise in Swedish (i.e., one must have a language-agnostic way to set the ordering of identifiers - hence the skos:notation approach could work).
In case you are wondering on what else to prioritize I would heavily suggest #810 to be tackled ASAP as solving that would allow Metatietosanasto (and propably other vocabularies, too) to prosper big time.
At which URL did you encounter the problem?
At my local installation using a vocabulary with notated groups.
What steps will reproduce the problem?
skosmos:showNotation "false"; skosmos:sortByNotation "true";
for the locally installed vocabulary in question (similarly to https://finto.fi/yso-aika/fi/ where these configuration settings are applied and working)What is the expected output? What do you see instead?
I expect to see the values ordered by notation codes. For YSO-aika, this is working in the Hierarchy tab. Looking at the code, it seems like sorting is done differently:
Skosmos/resource/js/groups.js
Line 55 in 0a51dd5
Skosmos/resource/js/hierarchy.js
Lines 503 to 532 in 0a51dd5
I would assume that refactoring so that both codes use the same approach would yield identical behavior between the tabs in question.
The text was updated successfully, but these errors were encountered: