Bugzilla – Attachment 68256 Details for
Bug 12363
Marking an item as lost in koha always returns it, but longoverdue.pl may not
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12363: Add new pref MarkLostItemsAsReturned
Bug-12363-Add-new-pref-MarkLostItemsAsReturned.patch (text/plain), 3.15 KB, created by
Biblibre Sandboxes
on 2017-10-18 14:37:42 UTC
(
hide
)
Description:
Bug 12363: Add new pref MarkLostItemsAsReturned
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2017-10-18 14:37:42 UTC
Size:
3.15 KB
patch
obsolete
>From a0d5ac033de8aac735a51f24a07b85a49df17d2d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 17 Oct 2017 10:54:33 -0300 >Subject: [PATCH] Bug 12363: Add new pref MarkLostItemsAsReturned >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > installer/data/mysql/atomicupdate/bug_12363.sql | 2 ++ > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/circulation.pref | 6 ++++++ > 3 files changed, 9 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_12363.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_12363.sql b/installer/data/mysql/atomicupdate/bug_12363.sql >new file mode 100644 >index 0000000..65abfc4 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_12363.sql >@@ -0,0 +1,2 @@ >+INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES >+('MarkLostItemsAsReturned','1','','Mark items as returned when flagged as lost','YesNo'); >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 1cb1ae1..818eb4b 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'), >+('MarkLostItemsAsReturned','1','','Mark items as returned when flagged as lost','YesNo'), > ('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 738bd5f..30b3992 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 >@@ -406,6 +406,12 @@ Circulation: > nothing : "do nothing" > - . > - >+ - pref: MarkLostItemsAsReturned >+ choices: >+ yes: "Mark" >+ no: "Do not mark" >+ - "items as returned when flagged as lost" >+ - > - pref: AllowMultipleIssuesOnABiblio > choices: > yes: Allow >-- >2.7.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 12363
:
68212
|
68213
|
68256
|
68257
|
68684
|
68685