linkedpipes / dcat-ap-viewer

Viewer of DCAT-AP 2.0.1 compatible dataset metadata
MIT License
7 stars 6 forks source link

Dataset sort is not working with en #171

Closed skodapetr closed 4 years ago

skodapetr commented 4 years ago

We need to define how should the sort behave, as using title_en_sort desc, title_cs_sort desc to sort first by en and then by cs (as a fallback) does not work. As all datasets with en title are put first followed by those with cs title.

A solution would be that every dataset must have both cs and en title @jakubklimek .

skodapetr commented 4 years ago

We decided to update schema and populate "title_en_sort" by cs values where en value is not available. Thus the user will see English labels where available (no change here) but they will be sorted in respect to cs labels.