gbv / cmo

Corpus Musicae Ottomanicae
GNU General Public License v3.0
6 stars 0 forks source link

display list of children in alphabetical order #167

Closed fabiancremer closed 5 years ago

fabiancremer commented 5 years ago

The displayed order of lists of children should be the time of the creation of the relationship -> the same order as it is in the xml This is already implemented for the edition entities (MODS). For Expressions the order is by MyCoRe-ID. example: https://corpus-musicae-ottomanicae.de/receive/cmo_expression_00003692

fabiancremer commented 5 years ago

Somehow, this MODS Entity does not order the childs like in xml: https://corpus-musicae-ottomanicae.de/receive/cmo_mods_00000051

kkrebs commented 5 years ago

You can not modify the XML order (atm), so we should sort it! So please specify the problem and not a solution. Is it right, that you want alphabetic sorting by title?

kkrebs commented 5 years ago

alphabetic sorting by title should fix the problem

kkrebs commented 5 years ago

There are still sorting problems. It now works for expressions, but in mods are still errors in order.

kkrebs commented 5 years ago

This order problems comes from metadata errors. We sort children by title, but http://cmo.gbv.de/cmo-test/receive/cmo_expression_00000474 has no title and also no makam or genre defined. So the generic title is also missing (see http://cmo.gbv.de/cmo-test/receive/cmo_expression_00001983).

This leads to wrong order in: http://cmo.gbv.de/cmo-test/receive/cmo_expression_00003692