From 4e73a7058889f5339380f9b083bbe0296ed0f570 Mon Sep 17 00:00:00 2001 From: rlx Date: Mon, 24 Jun 2019 12:44:07 +0200 Subject: [PATCH] add document filter keys to config --- config.jsonc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config.jsonc b/config.jsonc index c1fa68e..7dcdb05 100644 --- a/config.jsonc +++ b/config.jsonc @@ -105,6 +105,14 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. list means it will not be included in find annotations. */ "clipLayers": ["publicnotes", "keywords", "subtitles"], + "documentFilters": [ + {"id": "author", "sort": [{"key": "items", "operator": "-"}]}, + {"id": "place", "sort": [{"key": "items", "operator": "-"}]}, + {"id": "date", "sort": [{"key": "name", "operator": "-"}]}, + {"id": "publisher", "sort": [{"key": "items", "operator": "-"}]}, + {"id": "language", "sort": [{"key": "items", "operator": "-"}]} + ], + "documentFiltersSize": 176, /* "documentKeys" defines the metadata associated with each document. Required keys are "*", "id" and "title".