Bug 22867: (QA follow-up) Build items.json for UniqueItemFields

Adding items.json, built from latest kohastructure.sql.
Control UniqueItemFields with this source file.
And add StatisticsFields.

Test plan:
Go to Preferences, play with UniqueItemFields.
Adjust StatisticsFields and look at patron record, statistics tab.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Marcel de Rooy 2019-05-10 08:49:26 +00:00 committed by Martin Renvoize
parent 8c38904627
commit b97acab4d3
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F
3 changed files with 52 additions and 3 deletions

View file

@ -11,7 +11,8 @@ 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
- (separate columns with |)
type: modalselect
source: items
-
- When closing or reopening a basket,
- pref: BasketConfirmations

View file

@ -0,0 +1,47 @@
{
"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"
}

View file

@ -170,8 +170,9 @@ Patrons:
-
- "Show the following fields from the items database table as columns on the statistics tab on the patron record: "
- pref: StatisticsFields
class: multi
- "(separate fields with |, without trailing |). Default if empty: location|itype|ccode"
type: modalselect
source: items
- "If empty, defaults to: location|itype|ccode"
-
- pref: EnableBorrowerFiles
choices: