From 90ccbdfcf9f84cc35b6a04f7de5a809fbe3e9a6a Mon Sep 17 00:00:00 2001 From: Jan Gerber Date: Tue, 22 Sep 2015 11:11:20 +0100 Subject: [PATCH] year --- config.jsonc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/config.jsonc b/config.jsonc index 2e0dc1d..33d0943 100644 --- a/config.jsonc +++ b/config.jsonc @@ -230,6 +230,17 @@ "poster": true, "sort": true }, + { + "id": "year", + "title": "Year", + "type": "string", + "autocomplete": true, + "columnWidth": 60, + "filter": true, + "find": true, + "sort": true, + "value": {"key": "date", "type": "map", "map": "^(\\d{4})"} + }, { "id": "language", "title": "Language", @@ -912,7 +923,7 @@ {"id": "themes", "sort": [{"key": "items", "operator": "-"}]}, {"id": "name", "sort": [{"key": "items", "operator": "-"}]}, {"id": "keywords", "sort": [{"key": "items", "operator": "-"}]}, - {"id": "date", "sort": [{"key": "name", "operator": "+"}]} + {"id": "year", "sort": [{"key": "name", "operator": "+"}]} ], "filtersSize": 176, "find": {"conditions": [], "operator": "&"},