Mercurial > libervia-backend
diff sat/core/constants.py @ 2760:3480d4fdf83a
plugins XEP-0060, XEP-0313: implemented Order-By protoXEP:
new "order_by" key can be used in extra data, value can be, for now, "creation" or "modification".
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 06 Jan 2019 17:36:51 +0100 |
parents | 1fa615faec8b |
children | 003b8b4b56a7 |
line wrap: on
line diff
--- a/sat/core/constants.py Sun Jan 06 17:34:56 2019 +0100 +++ b/sat/core/constants.py Sun Jan 06 17:36:51 2019 +0100 @@ -396,6 +396,12 @@ KEY_THUMBNAILS = u"thumbnails" KEY_PROGRESS_ID = u"progress_id" + ## Common extra keys/values ## + KEY_ORDER_BY = u"order_by" + + ORDER_BY_CREATION = u'creation' + ORDER_BY_MODIFICATION = u'modification' + # internationalisation DEFAULT_LOCALE = u"en_GB"