summaryrefslogtreecommitdiff
path: root/tests/data/complex/settings.yaml
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-02-03 11:24:46 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-02-03 11:24:46 +0100
commit23de3297bbd74980a2f6da326acc5da63ddef2fe (patch)
treefc670e596e96a2147ee0f27a838072ba98645e25 /tests/data/complex/settings.yaml
parentde1c03d81615e6fd50540008fe6ca46feb012c30 (diff)
Add a default_sort option to collections
Diffstat (limited to 'tests/data/complex/settings.yaml')
-rw-r--r--tests/data/complex/settings.yaml6
1 files changed, 6 insertions, 0 deletions
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