iskendria-pub / iskendria

Blockchain-based system for scientific publishing
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Data model does not support volumes to be sorted #31

Open mhdirkse opened 4 years ago

mhdirkse commented 4 years ago

[AX-31] created by mdi

mhdirkse commented 4 years ago

Volumes have no proper fields for sorting them. The issue property is a human readable string like "August 2019". It is clear that the natural sort order of strings is not what is needed here (consider "August 2018", "May 2017" and "September 2019"). The createdOn field is also not what we want, because this tells when the editor happened to create the volumes. If the editor creates all volumes of the next year in advance, sorting on createdOn may not give the logical sort order.

An extra timestamp field is needed, say the "volume publication date".