noyainrain / listling

Web app to make and edit lists collaboratively.
https://listling.org/
GNU Affero General Public License v3.0
34 stars 8 forks source link

Order items #103

Closed noyainrain closed 3 years ago

noyainrain commented 3 years ago

Make it possible to automatically order items by different criteria, initially by title alphabetically.

noyainrain commented 3 years ago

Depends on noyainrain/micro#128.

noyainrain commented 3 years ago

Draft:

class List:
    """
    .. describe:: order

       Key by which items are ordered. Available keys are ``title``. May be ``null``.
    """

    class Items:
        """List :ref:`Item` s in :ref:`List` *order*."""