From 9253e65e790191b71dca3c3250ef02d70cc48b19 Mon Sep 17 00:00:00 2001 From: rlx Date: Mon, 11 Jan 2016 12:02:53 +0530 Subject: [PATCH] config: update item keys --- config.json | 84 +++++++++++++++-------------------------------------- 1 file changed, 24 insertions(+), 60 deletions(-) diff --git a/config.json b/config.json index d2c1b65..7dfbe78 100644 --- a/config.json +++ b/config.json @@ -31,13 +31,6 @@ "sort": true, "sortType": "person" }, - { - "id": "edition", - "title": "Edition", - "type": "string", - "columnWidth": 128, - "find": true - }, { "id": "publisher", "title": "Publisher", @@ -54,14 +47,6 @@ "type": ["string"], "columnWidth": 128, "filter": true, - "sort": true - }, - { - "id": "country", - "title": "Country", - "type": "string", - "columnWidth": 128, - "filter": true, "find": true, "sort": true }, @@ -74,6 +59,22 @@ "filterMap": "(-?\\d+)", "sort": true }, + { + "id": "series", + "title": "Series", + "type": "string", + "columnWidth": 128, + "filter": true, + "find": true, + "sort": true + }, + { + "id": "edition", + "title": "Edition", + "type": "string", + "columnWidth": 128, + "find": true + }, { "id": "language", "title": "Language", @@ -91,22 +92,18 @@ "format": {"type": "unit", "args": ["pages"]}, "sort": true }, - { - "id": "classification", - "title": "Classification", - "type": "string", - "autocomplete": true, - "columnWidth": 192, - "find": true, - "filter": true, - "sort": true - }, { "id": "description", "title": "Description", "type": "text", "find": true }, + { + "id": "tableofcontents", + "title": "Table of Contents", + "type": "text", + "find": true + }, { "id": "extension", "title": "Extension", @@ -200,43 +197,10 @@ { "id": "isbn", "title": "ISBN", - "type": ["string"], + "type": "string", "columnWidth": 96, "sort": true }, - { - "id": "asin", - "title": "ASIN", - "type": ["string"], - "columnWidth": 96, - "sort": true - }, - { - "id": "lccn", - "title": "LCCN", - "type": ["string"], - "columnWidth": 96, - "sort": true - }, - { - "id": "olid", - "title": "OLID", - "type": ["string"], - "columnWidth": 96, - "sort": true - }, - { - "id": "oclc", - "title": "OCLC", - "type": ["string"], - "columnWidth": 96, - "sort": true - }, - { - "id": "primaryid", - "title": "Primary ID", - "type": ["string"] - }, { "id": "random", "title": "Random", @@ -322,7 +286,7 @@ {"id": "publisher", "sort": [{"key": "items", "operator": "-"}]}, {"id": "date", "sort": [{"key": "name", "operator": "-"}]}, {"id": "language", "sort": [{"key": "items", "operator": "-"}]}, - {"id": "classification", "sort": [{"key": "items", "operator": "-"}]} + {"id": "categories", "sort": [{"key": "items", "operator": "-"}]} ], "filtersSize": 176, "find": {"conditions": [], "operator": "&"},