Bugzilla – Attachment 163331 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.60 KB, created by
Nick Clemens (kidclamp)
on 2024-03-18 13:56:52 UTC
(
hide
)
Description:
Bug 27595: Add new system preference PlaceHoldsOnOrdersFromSuggestions
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-03-18 13:56:52 UTC
Size:
3.60 KB
patch
obsolete
>From 537bb5655f7197184d298892119f9b8a6c0f8b2d 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> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.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 00000000000..4b613259a12 >--- /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 669074aa506..902cf7db2e7 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -601,6 +601,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('PatronSelfRegistrationVerifyByEmail','0',NULL,'If enabled, any patron attempting to register themselves via the OPAC will be required to verify themselves via email to activate their account.','YesNo'), > ('PatronsPerPage','20','20','Number of Patrons Per Page displayed by default','Integer'), > ('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 e9be332383c..990b7b91ae3 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 >@@ -161,6 +161,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