ufal / lindat-kontext

An alternative web front-end for the Manatee corpus search engine
GNU General Public License v2.0
5 stars 1 forks source link

attributes should be listed in the order in which they appear in the registry file, not in alphabetical order #210

Closed Ansa211 closed 5 years ago

Ansa211 commented 5 years ago

It seems to me that both in the "on token mouseover" and "show in text" mode, attributes are listed in alphabetical order rather than in the order in which they appear in the registry file and therefore also in the "View > Corpus specific settings" menu.

I could not reproduce this on ÚČNK.

Tested in particular with attributes parent and those starting with p_, like p_word, p_afun etc. Tested on PDT 3.5 and UD 2.2. - Czech PDT.

Related: it is not clear to me whether the alphabetical order is more suitable for the left panel in the tree-view either. There is certain logic in the order in which attributes are listed in the registry file (e.g., "word" and the most salient attributes come first). I'll mention this again in https://github.com/ufal/lindat-kontext/issues/209, where it belongs.

Ansa211 commented 5 years ago

Works correctly since updating production.