Bugzilla – Attachment 159537 Details for
Bug 27595
Place holds for patrons on accepted purchase suggestions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27595: Add new system preference PlaceHoldsOnOrdersFromSuggestions
Bug-27595-Add-new-system-preference-PlaceHoldsOnOr.patch (text/plain), 3.51 KB, created by
ByWater Sandboxes
on 2023-12-04 16:53:06 UTC
(
hide
)
Description:
Bug 27595: Add new system preference PlaceHoldsOnOrdersFromSuggestions
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2023-12-04 16:53:06 UTC
Size:
3.51 KB
patch
obsolete
>From 3808ef78795d67c3c67d257fbaa57e16f6e1a59f Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 4 Dec 2023 14:04:06 +0000 >Subject: [PATCH] Bug 27595: Add new system preference > PlaceHoldsOnOrdersFromSuggestions > >Signed-off-by: Kelly <kelly@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_27595.pl | 18 ++++++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 1 + > .../admin/preferences/acquisitions.pref | 6 ++++++ > 3 files changed, 25 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_27595.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_27595.pl b/installer/data/mysql/atomicupdate/bug_27595.pl >new file mode 100755 >index 0000000000..4b613259a1 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_27595.pl >@@ -0,0 +1,18 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "27595", >+ description => "Add system preference PlaceHoldsOnOrdersFromSuggestions", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ $dbh->do( >+ q{ >+ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES >+ ('PlaceHoldsOnOrdersFromSuggestions','0',NULL,'If ON, enables generation of holds when orders are placed from suggestions','YesNo') >+ } >+ ); >+ say $out "Added new system preference 'PlaceHoldsOnOrdersFromSuggestions'"; >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index b58114d802..c755c13692 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -586,6 +586,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('PatronsPerPage','20','20','Number of Patrons Per Page displayed by default','Integer'), > ('PatronQuickAddFields', '', NULL , 'A list of fields separated by "|" to be displayed along with mandatory fields in the patron quick add form if chosen at patron entry', 'Free' ), > ('PhoneNotification','0',NULL,'If ON, enables generation of phone notifications to be sent by plugins','YesNo'), >+('PlaceHoldsOnOrdersFromSuggestions','0',NULL,'If ON, enables generation of holds when orders are placed from suggestions','YesNo'), > ('PrefillGuaranteeField', 'phone,email,streetnumber,address,city,state,zipcode,country', NULL, 'Prefill these fields in guarantee member entry form from guarantor patron record', 'Multiple'), > ('PrefillItem','0','','When a new item is added, should it be prefilled with last created item values?','YesNo'), > ('PreservationModule', '0', NULL, 'Enable the preservation module', 'YesNo'), >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 757bca6801..f2cbd45ca5 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 >@@ -160,6 +160,12 @@ Acquisitions: > "pdfformat::layout3pagesfr": French 3-page > "pdfformat::layout2pagesde": German 2-page > - layout when printing basket groups. >+ - >+ - pref: PlaceHoldsOnOrdersFromSuggestions >+ choices: >+ 1: "Do" >+ 0: "Don't" >+ - place a hold when ordering from a suggestion. > EDIFACT: > - > - pref: EDIFACT >-- >2.30.2
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 27595
:
159524
|
159525
|
159526
|
159533
|
159534
|
159535
|
159537
|
159538
|
159539
|
159540
|
159541
|
159542
|
159786
|
159787
|
159788
|
163331
|
163332
|
163333