Bugzilla – Attachment 68252 Details for
Bug 19287
Add ability to mark an item 'Lost' from 'Holds to pull' list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19287: Add new pref CanMarkHoldsAwaitingPickupAsLost
Bug-19287-Add-new-pref-CanMarkHoldsAwaitingPickupA.patch (text/plain), 3.52 KB, created by
Jonathan Druart
on 2017-10-18 14:36:25 UTC
(
hide
)
Description:
Bug 19287: Add new pref CanMarkHoldsAwaitingPickupAsLost
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-10-18 14:36:25 UTC
Size:
3.52 KB
patch
obsolete
>From c4b33ab87e276ed15af6d71803777a9fd67d0663 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 12 Oct 2017 14:17:52 -0300 >Subject: [PATCH] Bug 19287: Add new pref CanMarkHoldsAwaitingPickupAsLost > >This patch adds a new pref to control the behaviour of this patch set. >--- > installer/data/mysql/atomicupdate/bug_19287.sql | 1 + > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/circulation.pref | 7 +++++++ > 3 files changed, 9 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_19287.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_19287.sql b/installer/data/mysql/atomicupdate/bug_19287.sql >new file mode 100644 >index 0000000000..5aad3d2f2c >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_19287.sql >@@ -0,0 +1 @@ >+INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('CanMarkHoldsAwaitingPickupAsLost','no','no|yes|yes_and_notify','Add a button on the "Holds awaiting pickup" screen to mark an item as lost and notify the patron.','Choice'); >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 1cb1ae10c0..104e56a0b9 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -255,6 +255,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('MARCAuthorityControlField008','|| aca||aabn | a|a d',NULL,'Define the contents of MARC21 authority control field 008 position 06-39','Textarea'), > ('MarcFieldsToOrder','',NULL,'Set the mapping values for a new order line created from a MARC record in a staged file. In a YAML format.','textarea'), > ('MarcItemFieldsToOrder','',NULL,'Set the mapping values for new item records created from a MARC record in a staged file. In a YAML format.','textarea'), >+('CanMarkHoldsAwaitingPickupAsLost','no','no|yes|yes_and_notify','Add a button on the "Holds awaiting pickup" screen to mark an item as lost and notify the patron.','Choice'), > ('MARCOrgCode','OSt','','Define MARC Organization Code for MARC21 records - http://www.loc.gov/marc/organizations/orgshome.html','free'), > ('MaxFine',NULL,'','Maximum fine a patron can have for all late returns at one moment. Single item caps are specified in the circulation rules matrix.','Integer'), > ('MaxItemsToDisplayForBatchDel','1000',NULL,'Display up to a given number of items in a single item deletionbatch.','Integer'), >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 738bd5f07c..acc56a4c46 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 >@@ -690,6 +690,13 @@ Circulation: > - "Patron categories not affected by OPACHoldsIfAvailableAtPickup" > - pref: OPACHoldsIfAvailableAtPickupExceptions > - "(list of patron categories separated with a pipe '|')" >+ - >+ - pref: CanMarkHoldsAwaitingPickupAsLost >+ choices: >+ no: "Do not allow to mark items as lost" >+ yes: "Allow to mark items as lost" >+ yes_and_notify: "Allow to mark items as lost and notify the patron" >+ - "from the 'Holds awaiting pickup' screen" > Fines Policy: > - > - Calculate fines based on days overdue >-- >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 19287
:
68226
|
68227
|
68228
|
68229
|
68230
|
68251
|
68252
|
68253
|
68254
|
68255
|
68284
|
69746
|
70705
|
70764
|
70918
|
70919
|
73881
|
73882
|
73883
|
73884
|
73885
|
73886
|
73887
|
73888
|
73889
|
74696
|
74697
|
74698
|
74699
|
74700
|
74701
|
74702
|
74703
|
74704
|
74705
|
74749
|
75535