Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.
This repository was archived by the owner on May 16, 2025. It is now read-only.

Allow non-integer serie ordinals #837

@maxlath

Description

@maxlath

At the present time, you can add only integer numbers to each work, but some work are intended to be floating ones (4.5). You can migrate the work to Wikidata and then modify in there the number from 4 to 4.5, but technically that should be possible in inventaire directly.

There are 2 issues:

Input

Currently, the ordinal input takes only integers, which works for (I guess) around 95% of cases, and thus correctly constrains to input the right value. For remaining cases, there could be the option to toggle to a free text mode. I'm not sure how the serie cleanup could implement such a free text mode, as its serie filling feature relies on ordinals being integers.

Serie display

Sorting integer or floating ordinals is trivial. It gets more complicated with Roman numerals or other notations. Is there a generally recognized way to approach this problem?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions