Bugzilla – Attachment 49084 Details for
Bug 15545
Remove remainders of unfinished reqholdnotes functionality
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15545: Database revision for HoldNoteReasons pref
Bug-15545-Database-revision-for-HoldNoteReasons-pr.patch (text/plain), 3.72 KB, created by
Marcel de Rooy
on 2016-03-14 07:49:52 UTC
(
hide
)
Description:
Bug 15545: Database revision for HoldNoteReasons pref
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-03-14 07:49:52 UTC
Size:
3.72 KB
patch
obsolete
>From 1895c7f36c7cab64da4fcd08be60e56bae1e3e07 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 15 Jan 2016 10:49:02 +0100 >Subject: [PATCH] Bug 15545: Database revision for HoldNoteReasons pref >Content-Type: text/plain; charset=utf-8 > >Adds a new preference. > >Test plan: >Run the db revision. >Check the pref in the interface. >--- > .../data/mysql/atomicupdate/15545a-holdnotereasons-pref.sql | 1 + > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/circulation.pref | 6 ++++++ > 3 files changed, 8 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/15545a-holdnotereasons-pref.sql > >diff --git a/installer/data/mysql/atomicupdate/15545a-holdnotereasons-pref.sql b/installer/data/mysql/atomicupdate/15545a-holdnotereasons-pref.sql >new file mode 100644 >index 0000000..569605a >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/15545a-holdnotereasons-pref.sql >@@ -0,0 +1 @@ >+INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('HoldNoteReasons','','LEADER_SERIAL|LEADER_COLLECTION|MARC300A_PARTS','List the codes for all situations where you require a hold note, separated by a space or comma.','Free'); >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index e2e3ad2..1721d37 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -161,6 +161,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('HighlightOwnItemsOnOPAC','0','','If on, and a patron is logged into the OPAC, items from his or her home library will be emphasized and shown first in search results and item details.','YesNo'), > ('HighlightOwnItemsOnOPACWhich','PatronBranch','PatronBranch|OpacURLBranch','Decides which branch\'s items to emphasize. If PatronBranch, emphasize the logged in user\'s library\'s items. If OpacURLBranch, highlight the items of the Apache var BRANCHCODE defined in Koha\'s Apache configuration file.','Choice'), > ('HoldFeeMode','not_always','always|not_always','Set the hold fee mode','Choice'), >+('HoldNoteReasons','','LEADER_SERIAL|LEADER_COLLECTION|MARC300A_PARTS','List the codes for all situations where you require a hold note, separated by a space or comma.','Free'), > ('HoldsQueueSkipClosed', '0', NULL, 'If enabled, any libraries that are closed when the holds queue is built will be ignored for the purpose of filling holds.', 'YesNo'), > ('HoldsToPullStartDate','2',NULL,'Set the default start date for the Holds to pull list to this many days ago','Integer'), > ('HomeOrHoldingBranch','holdingbranch','holdingbranch|homebranch','Used by Circulation to determine which branch of an item to check with independent branches on, and by search to determine which branch to choose for availability ','Choice'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >index 8cdba08..a461d8e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >@@ -624,6 +624,12 @@ Circulation: > choices: > homebranch: "home library" > holdingbranch: "holding library" >+ - >+ - "List the codes for all situations where you require a hold note, separated by a space or comma." >+ - pref: HoldNoteReasons >+ type: textarea >+ class: code >+ - "Supported are: LEADER_COLLECTION, LEADER_SERIAL and MARC300A_PARTS." > Fines Policy: > - > - Calculate fines based on days overdue >-- >1.7.10.4
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 15545
:
46687
|
46688
|
46689
|
49084
|
49085
|
49086
|
51832
|
51833
|
51834
|
53546
|
53547
|
59252
|
59253
|
139947
|
140960