Revert "Bug 22867: (QA follow-up) Build items.json for UniqueItemFields"
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 6 Jun 2019 16:27:42 +0000 (17:27 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 6 Jun 2019 16:28:35 +0000 (17:28 +0100)
This reverts commit b97acab4d368ccbced7d99b21fdf371f8c51f1ba which
should have really been attached to bug 22844 and the dependancies
reversed.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref

index 9d9fe82..c6d8d8d 100644 (file)
@@ -11,8 +11,7 @@ Acquisitions:
         -
             - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/items.html' target='blank'>database columns</a> should be unique in an item:"
             - pref: UniqueItemFields
         -
             - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/items.html' target='blank'>database columns</a> should be unique in an item:"
             - pref: UniqueItemFields
-              type: modalselect
-              source: items
+            - (separate columns with |)
         -
             - When closing or reopening a basket,
             - pref: BasketConfirmations
         -
             - When closing or reopening a basket,
             - pref: BasketConfirmations
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json
deleted file mode 100644 (file)
index af89c0f..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-{
-    "itemnumber": "itemnumber",
-    "biblionumber": "biblionumber",
-    "biblioitemnumber": "biblioitemnumber",
-    "barcode": "barcode",
-    "dateaccessioned": "dateaccessioned",
-    "booksellerid": "booksellerid",
-    "homebranch": "homebranch",
-    "price": "price",
-    "replacementprice": "replacementprice",
-    "replacementpricedate": "replacementpricedate",
-    "datelastborrowed": "datelastborrowed",
-    "datelastseen": "datelastseen",
-    "stack": "stack",
-    "notforloan": "notforloan",
-    "damaged": "damaged",
-    "damaged_on": "damaged_on",
-    "itemlost": "itemlost",
-    "itemlost_on": "itemlost_on",
-    "withdrawn": "withdrawn",
-    "withdrawn_on": "withdrawn_on",
-    "itemcallnumber": "itemcallnumber",
-    "coded_location_qualifier": "coded_location_qualifier",
-    "issues": "issues",
-    "renewals": "renewals",
-    "reserves": "reserves",
-    "restricted": "restricted",
-    "itemnotes": "itemnotes",
-    "itemnotes_nonpublic": "itemnotes_nonpublic",
-    "holdingbranch": "holdingbranch",
-    "paidfor": "paidfor",
-    "timestamp": "timestamp",
-    "location": "location",
-    "permanent_location": "permanent_location",
-    "onloan": "onloan",
-    "cn_source": "cn_source",
-    "cn_sort": "cn_sort",
-    "ccode": "ccode",
-    "materials": "materials",
-    "uri": "uri",
-    "itype": "itype",
-    "more_subfields_xml": "more_subfields_xml",
-    "enumchron": "enumchron",
-    "copynumber": "copynumber",
-    "stocknumber": "stocknumber",
-    "new_status": "new_status"
-}
index 18867b4..9007da9 100644 (file)
@@ -170,9 +170,8 @@ Patrons:
      -
          - "Show the following fields from the items database table as columns on the statistics tab on the patron record: "
          - pref: StatisticsFields
      -
          - "Show the following fields from the items database table as columns on the statistics tab on the patron record: "
          - pref: StatisticsFields
-           type: modalselect
-           source: items
-         - "If empty, defaults to: location|itype|ccode"
+           class: multi
+         - "(separate fields with |, without trailing |). Default if empty: location|itype|ccode"
      -
          - pref: EnableBorrowerFiles
            choices:
      -
          - pref: EnableBorrowerFiles
            choices: