Bugzilla – Attachment 89534 Details for
Bug 22867
UniqueItemFields preference value should be pipe-delimited
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22867: (QA follow-up) Build items.json for UniqueItemFields
Bug-22867-QA-follow-up-Build-itemsjson-for-UniqueI.patch (text/plain), 4.37 KB, created by
Marcel de Rooy
on 2019-05-10 09:20:42 UTC
(
hide
)
Description:
Bug 22867: (QA follow-up) Build items.json for UniqueItemFields
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-05-10 09:20:42 UTC
Size:
4.37 KB
patch
obsolete
>From 755eacf007af0b62ca1cf966f17e37c9445821a5 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 10 May 2019 08:49:26 +0000 >Subject: [PATCH] Bug 22867: (QA follow-up) Build items.json for > UniqueItemFields >Content-Type: text/plain; charset=utf-8 > >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> >--- > .../en/modules/admin/preferences/acquisitions.pref | 3 +- > .../prog/en/modules/admin/preferences/items.json | 47 ++++++++++++++++++++++ > .../prog/en/modules/admin/preferences/patrons.pref | 5 ++- > 3 files changed, 52 insertions(+), 3 deletions(-) > create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref >index 86ffd5c5a0..b497aa3b0f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref >@@ -12,7 +12,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 >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 >new file mode 100644 >index 0000000000..af89c0fafe >--- /dev/null >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json >@@ -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" >+} >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >index 58cfec679e..54286622c2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >@@ -172,8 +172,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: >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22867
:
89473
|
89486
|
89532
|
89533
| 89534 |
89659