From 23de3297bbd74980a2f6da326acc5da63ddef2fe Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Wed, 3 Feb 2021 11:24:46 +0100 Subject: Add a default_sort option to collections --- tests/data/complex/settings.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/data/complex/settings.yaml') diff --git a/tests/data/complex/settings.yaml b/tests/data/complex/settings.yaml index e6781b5..1fd36b5 100644 --- a/tests/data/complex/settings.yaml +++ b/tests/data/complex/settings.yaml @@ -1,6 +1,8 @@ name: "Fully featured lesana collection" lang: 'english' entry_label: '{{ eid }}: {{ name }} ({{ tags }})' +default_sort: + - order fields: - name: name type: string @@ -33,3 +35,7 @@ fields: type: integer index: field sortable: true + - name: order + type: string + index: field + sortable: true -- cgit v1.2.3