fix additionalSort

This commit is contained in:
j 2016-01-20 12:13:33 +05:30
parent 9fa06bbde7
commit 18e15fbaf0
1 changed files with 20 additions and 20 deletions

View File

@ -36,7 +36,7 @@
{
"id": "publisher",
"title": "Publisher",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"type": ["string"],
"autocomplete": true,
"columnWidth": 128,
@ -48,7 +48,7 @@
"id": "place",
"title": "Place",
"type": ["string"],
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 128,
"filter": true,
"find": true,
@ -58,7 +58,7 @@
"id": "date",
"title": "Date",
"type": "string",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 96,
"filter": true,
"filterMap": "(-?\\d+)",
@ -68,7 +68,7 @@
"id": "series",
"title": "Series",
"type": "string",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 128,
"filter": true,
"find": true,
@ -78,7 +78,6 @@
"id": "edition",
"title": "Edition",
"type": "string",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"columnWidth": 128,
"find": true
},
@ -86,7 +85,7 @@
"id": "language",
"title": "Language",
"type": ["string"],
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 128,
"filter": true,
"find": true,
@ -96,7 +95,7 @@
"id": "pages",
"title": "Pages",
"type": "integer",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 96,
"format": {"type": "unit", "args": ["pages"]},
"sort": true
@ -105,7 +104,7 @@
"id": "categories",
"title": "Categories",
"type": ["string"],
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 128,
"filter": true,
"find": true,
@ -115,7 +114,7 @@
"id": "isbn",
"title": "ISBN",
"type": "string",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"format": {"type": "ISBN", "args": [13, true]},
"columnWidth": 128,
"sort": true
@ -136,7 +135,7 @@
"id": "extension",
"title": "Extension",
"type": "string",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 80,
"format": {"type": "upper", "args": []},
"filter": true,
@ -146,7 +145,7 @@
"id": "size",
"title": "Size",
"type": "integer",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 64,
"format": {"type": "value", "args": ["B"]},
"sort": true
@ -155,7 +154,7 @@
"id": "id",
"title": "ID",
"type": "string",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 96,
"sort": true
},
@ -163,7 +162,7 @@
"id": "created",
"title": "First Seen",
"type": "date",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
@ -172,7 +171,7 @@
"id": "added",
"title": "Date Added",
"type": "date",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
@ -181,7 +180,7 @@
"id": "modified",
"title": "Last Modified",
"type": "date",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
@ -190,7 +189,7 @@
"id": "accessed",
"title": "Last Read",
"type": "date",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
@ -199,7 +198,7 @@
"id": "timesaccessed",
"title": "Times Accessed",
"type": "integer",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 64,
"format": {"type": "number", "args": []},
"sort": true
@ -208,7 +207,7 @@
"id": "mediastate",
"title": "Media State",
"type": "string",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"find": true,
"sort": true,
"values": [
@ -221,7 +220,7 @@
"id": "transferadded",
"title": "Added",
"type": "date",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
@ -229,7 +228,7 @@
"id": "transferprogress",
"title": "Progress",
"type": "float",
"additionalSort": [{"key": "title", "operator": "-"}, {"key": "author", "operator": "+"}],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"format": {"type": "percent", "args": [1, 0]},
"sort": true
},
@ -237,6 +236,7 @@
"id": "sharemetadata",
"title": "Share Metadata",
"type": "boolean",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 144,
"format": {"type": "boolean", "args": []},
"sort": true