Bugzilla – Attachment 139442 Details for
Bug 31391
Staff-side recalls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Issue 1: RecallsInterface system preference
Issue-1-RecallsInterface-system-preference.patch (text/plain), 3.67 KB, created by
Aleisha Amohia
on 2022-08-18 23:40:57 UTC
(
hide
)
Description:
Issue 1: RecallsInterface system preference
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2022-08-18 23:40:57 UTC
Size:
3.67 KB
patch
obsolete
>From ffcb007bd7fafb18c9af9c5de93cfe2aa487292e Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Mon, 4 Oct 2021 17:20:28 +1300 >Subject: [PATCH] Issue 1: RecallsInterface system preference > >(cherry picked from commit fed2dcd820335395f6478754e76c3e0d751bee57) > >https://bugs.koha-community.org/show_bug.cgi?id=31391 >--- > .../mysql/atomicupdate/bug_19532-add_recalls_sysprefs.perl | 9 +++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/circulation.pref | 10 ++++++++++ > 3 files changed, 20 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_19532-add_recalls_sysprefs.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_19532-add_recalls_sysprefs.perl b/installer/data/mysql/atomicupdate/bug_19532-add_recalls_sysprefs.perl >new file mode 100644 >index 0000000000..738a78899c >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_19532-add_recalls_sysprefs.perl >@@ -0,0 +1,9 @@ >+$DBversion = 'XXX'; >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q{ >+ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES >+ ('RecallsInterface','opac','opac|staff|both','The interface that recalls can be placed through','Choice') >+ }); >+ >+ NewVersion( $DBversion, 31391, "Add RecallsInterface system preference"); >+} >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 227049afe5..58aa75968c 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -572,6 +572,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('QuoteOfTheDay','','intranet,opac','Enable or disable display of Quote of the Day on the OPAC and staff interface home page','multiple'), > ('RandomizeHoldsQueueWeight','0',NULL,'if ON, the holds queue in circulation will be randomized, either based on all location codes, or by the location codes specified in StaticHoldsQueueWeight','YesNo'), > ('RealTimeHoldsQueue', '0', NULL, 'Enable updating the holds queue in real time', 'YesNo'), >+('RecallsInterface','opac','opac|staff|both','The interface that recalls can be placed through','Choice'), > ('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'), > ('RecallsMaxPickUpDelay','7',NULL,'Define the maximum time a recall can be awaiting pickup','Integer'), > ('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'), >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 488ee65ba1..8dcb2495a2 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 >@@ -1353,6 +1353,7 @@ Circulation: > - days. > - > - pref: UseRecalls >+ type: boolean > choices: > 1: Use > 0: "Don't use" >@@ -1383,3 +1384,12 @@ Circulation: > 1: Enable > 0: Disable > - "the curbside pickup module." >+ - >+ - Recalls can be placed through >+ - pref: RecallsInterface >+ default: opac >+ choices: >+ opac: the OPAC only >+ staff: the staff client only >+ both: both the OPAC and the staff client >+ - . (Requires <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=UseRecalls">UseRecalls</a>.) >-- >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 31391
:
139442
|
139443
|
139444
|
139446
|
139642
|
139643
|
139644
|
139645
|
141474
|
142594
|
143155
|
144104
|
144105
|
144131
|
144132
|
144133
|
144134
|
144135
|
144136
|
147581
|
147582
|
150485
|
150486
|
150487
|
150488
|
150489
|
150490
|
150491
|
156995
|
156996
|
156997
|
156998
|
156999
|
157000
|
157001
|
158691
|
158692
|
158693
|
158694
|
158695
|
158825
|
158826
|
158827
|
158828
|
158829
|
158830
|
158831
|
158832