icaruseu / mom-ca

Monasterium.net (http://www.monasterium.net/mom) - repository and collaborative archive
https://github.com/icaruseu/mom-ca/wiki
GNU General Public License v3.0
17 stars 11 forks source link

support for more than one persName per person in index view #1144

Open NTsch opened 1 year ago

NTsch commented 1 year ago

The index is currently set up to handle one persName per person, but in the Wikidata index and possible future indices that is not the case. I would suggest using persName[1] for the list element, and then having a list of all names of the same person in the index entry itself.

GVogeler commented 10 months ago

Could this chieved by adding the index [1] to the tei:persName in in https://github.com/icaruseu/mom-ca/blob/master/my/XRX/src/mom/app/index/widget/index.widget.xml#L839 ?

GVogeler commented 7 months ago

Currently https://www.monasterium.net/mom/index/wikidata?pm=A (for instance) lists the entry with the xml:id P_wikidata_Q1531556 and several others twice, but it should only be one.