PhiloBiblon / philobiblon-ui

PhiloBiblon UI
Creative Commons Attribution Share Alike 4.0 International
0 stars 0 forks source link

Order the statements according to Wikibase #1

Closed jmformenti closed 10 months ago

jmformenti commented 11 months ago

Currently the order of the statements for an Item is hardcoded in a local array: https://github.com/PhiloBiblon/philobiblon-ui/blob/master/frontend/components/ItemViewer.vue#L71 On the other side Wikibase provides a wiki page to define the order, in our case: https://pbuidev.wikibase.cloud/wiki/MediaWiki:Wikibase-SortedProperties We need to remove the hardcoded array and use directly the configuration from Wikibase.

Tip: