summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/source/user/settings.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/user/settings.rst b/docs/source/user/settings.rst
index 0d2eec9..7c84e39 100644
--- a/docs/source/user/settings.rst
+++ b/docs/source/user/settings.rst
@@ -16,6 +16,10 @@ It is a yaml file with a dict of properties and their values.
a jinja2 template used to show an entry in the interface; beside the
entry fields two useful variables are ``eid`` for the full entry ID
and ``short_id`` for the short version.
+``default_sort``:
+ a list of field names (possibly prefixed by + or -) that are used by
+ default to sort results of searches in the collection.
+ The fields must be marked as sortable in their definition, see below.
``fields``:
The list of fields used by the collection, as described below.