add document filter config

This commit is contained in:
j 2019-06-27 22:38:35 +02:00
parent a311235cf6
commit 2ed1bbaa6f

View file

@ -214,6 +214,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"type": "string", "type": "string",
"columnWidth": 120, "columnWidth": 120,
//"format": {"type": "date", "args": ["%a, %b %e, %Y"]}, //"format": {"type": "date", "args": ["%a, %b %e, %Y"]},
"filter": true,
"sort": true "sort": true
}, },
{ {
@ -1329,11 +1330,19 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
}, },
"document": "", "document": "",
"documents": {}, "documents": {},
"documentFiltersSize": 176,
"documentSize": 256, "documentSize": 256,
"documentView": "view", "documentView": "view",
"documentsSelection": {}, "documentsSelection": {},
"documentsSort": [{"key": "title", "operator": "+"}], "documentsSort": [{"key": "title", "operator": "+"}],
"documentsView": "grid", "documentsView": "grid",
"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": "-"}]}
],
"edit": "", "edit": "",
"edits": {}, "edits": {},
"editSelection": [], "editSelection": [],
@ -1398,6 +1407,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"showCalendarControls": false, "showCalendarControls": false,
"showClips": true, "showClips": true,
"showDocument": true, "showDocument": true,
"showDocumentFilters": false,
"showFilters": true, "showFilters": true,
"showIconBrowser": false, "showIconBrowser": false,
"showInfo": true, "showInfo": true,