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": "&"},