deterministic order of title properties
Opened this issue · 1 comments
I use multiple title properties and I want LodView to always prioritize a property early in the list to one later in the list. For example, in the example below, it should always use rdfs:label when present and only fall back on skos.prefLabel when that is not available.
conf:titleProperties dc:title , dcterms:title, rdfs:label , skos:prefLabel, skos:altLabel
As you can see on the screenshot below, the skos:altLabel is used as title even though the rdfs:label value is present. To further complicate the issue, this error does not always occur and is thus hard to confirm. When it is shown correctly, even reloading multiple times does not show the error, maybe it is cached.
I strongly support this evolution. The list of title and description properties should be ordered in the configuration. LodView should test these properties in order and use the first value it finds.