Bugzilla – Attachment 167325 Details for
Bug 36777
Create a new section for system preferences related to lost item handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36777: Add new section for lost item circulation preferences
Bug-36777-Add-new-section-for-lost-item-circulatio.patch (text/plain), 10.37 KB, created by
David Nind
on 2024-06-01 22:36:22 UTC
(
hide
)
Description:
Bug 36777: Add new section for lost item circulation preferences
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-06-01 22:36:22 UTC
Size:
10.37 KB
patch
obsolete
>From c30416d5c68268690a596a5204c7451a58414cc8 Mon Sep 17 00:00:00 2001 >From: David Nind <david@davidnind.com> >Date: Sat, 1 Jun 2024 22:21:44 +0000 >Subject: [PATCH] Bug 36777: Add new section for lost item circulation > preferences > >This moves lost item circulation system preferences from >'Checkout policy' to their own 'Lost item policy' section. > >It also fixes a capitalization issue - 'Fines Policy' to >'Fines policy'. > >Test plan: >1. View the circulation system preferences page (Administration > > System preferences > Circulation). >2. Search the page, and note that there are several system > preferences about lost items in the 'Checkout policy' section. >3. Apply the patch. >4. Refresh the page. >5. Note that there is now a new section heading 'Lost item policy'. > The system preferences previously under 'Checkout policy' are > now located in this new section. >6. Sign off D: > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../admin/preferences/circulation.pref | 123 +++++++++--------- > 1 file changed, 61 insertions(+), 62 deletions(-) > >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 e0e0ead489..6b2cf2d4c0 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 >@@ -170,7 +170,6 @@ Circulation: > 1: "Use" > 0: "Don't use" > - circulation desks with circulation. >- > Checkout policy: > - > - Delay the automatic loading of the checkouts table on the checkouts page by >@@ -425,33 +424,6 @@ Circulation: > 1: ask > 0: "don't ask" > - "for confirmation." >- - >- - By default, set the <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST">LOST</a> value of an item to >- - pref: DefaultLongOverdueLostValue >- choices: authval >- source: LOST >- - when the item has been overdue for more than >- - pref: DefaultLongOverdueDays >- class: integer >- - days. >- - <br>WARNING â These preferences will activate the automatic item loss process. Leave these fields empty if you don't want to activate this feature. >- - "<br>Example: [1] [30] Sets an item to the <a href='/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST'>LOST</a> value 1 when it has been overdue for more than 30 days." >- - <br>(Used when the longoverdue.pl script is called without the --lost parameter) >- - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/longoverdue.pl</code> cronjob. Ask your system administrator to schedule it." >- - >- - "Charge a lost item to the patron's account when the <a href='/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST'>LOST</a> value of the item changes to:" >- - pref: DefaultLongOverdueChargeValue >- choices: authval >- source: LOST >- - <br>Leave this field empty if you don't want to charge the patron for lost items. >- - <br>(Used when the longoverdue.pl script is called without the --charge parameter) >- - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/longoverdue.pl</code> cronjob. Ask your system administrator to schedule it." >- - >- - When using the automatic item loss process, skip items with <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST">LOST</a> values matching any of >- - pref: DefaultLongOverdueSkipLostStatuses >- - "." >- - <br>Leave this field empty if you don't want to skip any <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST">LOST</a> statuses. >- - <br>Set to a list of comma separated values, e.g. <em>5,6,7</em>. > - > - Set the default patron categories to receive overdues to > - pref: DefaultLongOverduePatronCategories >@@ -469,15 +441,6 @@ Circulation: > - <br>(Used when the longoverdue.pl script is called without the --skip-category parameter) > - <br>WARNING - This preference overrides the DefaultLongOverduePatronCategories preference, so the DefaultLongOverduePatronCategories filter will not take effect. > - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/longoverdue.pl</code> cronjob. Ask your system administrator to schedule it." >- >- - >- - "When issuing an item that has been marked as lost, " >- - pref: IssueLostItem >- choices: >- confirm: "require confirmation" >- alert: "display a message" >- nothing : "do nothing" >- - . > - > - "When checking out an item, " > - pref: RecordStaffUserOnCheckout >@@ -485,30 +448,6 @@ Circulation: > 1: "record" > 0: "don't record" > - "the user who checked out the item." >- - >- - "Mark items as returned when flagged as lost " >- - pref: MarkLostItemsAsReturned >- multiple: >- cronjob: "from the longoverdue cronjob" >- batchmod: "from the batch item modification tool" >- additem: "when cataloguing an item" >- moredetail: "from the items tab of the catalog module" >- pendingreserves: "from the 'Holds to pull' list" >- onpayment: "when receiving payment for the item" >- claim_returned: "when marking an item as a return claim" >- - . >- - >- - "Update item status to" >- - pref: UpdateItemLostStatusWhenPaid >- choices: authval >- source: LOST >- - "when the outstanding balance is paid." >- - >- - "Update item status to" >- - pref: UpdateItemLostStatusWhenWriteoff >- choices: authval >- source: LOST >- - "when the outstanding balance is written off." > - > - pref: AllowMultipleIssuesOnABiblio > choices: >@@ -615,6 +554,66 @@ Circulation: > open: "extend the loan period and set the checkout to be due at the library's open time." > close: "shorten the loan period and set the checkout to be due at the library's close time." > ignore: "do not consider the library's opening hours." >+ Lost item policy: >+ - >+ - By default, set the <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST">LOST</a> value of an item to >+ - pref: DefaultLongOverdueLostValue >+ choices: authval >+ source: LOST >+ - when the item has been overdue for more than >+ - pref: DefaultLongOverdueDays >+ class: integer >+ - days. >+ - <br>WARNING â These preferences will activate the automatic item loss process. Leave these fields empty if you don't want to activate this feature. >+ - "<br>Example: [1] [30] Sets an item to the <a href='/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST'>LOST</a> value 1 when it has been overdue for more than 30 days." >+ - <br>(Used when the longoverdue.pl script is called without the --lost parameter) >+ - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/longoverdue.pl</code> cronjob. Ask your system administrator to schedule it." >+ - >+ - "Charge a lost item to the patron's account when the <a href='/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST'>LOST</a> value of the item changes to:" >+ - pref: DefaultLongOverdueChargeValue >+ choices: authval >+ source: LOST >+ - <br>Leave this field empty if you don't want to charge the patron for lost items. >+ - <br>(Used when the longoverdue.pl script is called without the --charge parameter) >+ - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/longoverdue.pl</code> cronjob. Ask your system administrator to schedule it." >+ - >+ - When using the automatic item loss process, skip items with <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST">LOST</a> values matching any of >+ - pref: DefaultLongOverdueSkipLostStatuses >+ - "." >+ - <br>Leave this field empty if you don't want to skip any <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST">LOST</a> statuses. >+ - <br>Set to a list of comma separated values, e.g. <em>5,6,7</em>. >+ - >+ - "When issuing an item that has been marked as lost, " >+ - pref: IssueLostItem >+ choices: >+ confirm: "require confirmation" >+ alert: "display a message" >+ nothing : "do nothing" >+ - . >+ - >+ - "Mark items as returned when flagged as lost " >+ - pref: MarkLostItemsAsReturned >+ multiple: >+ cronjob: "from the longoverdue cronjob" >+ batchmod: "from the batch item modification tool" >+ additem: "when cataloguing an item" >+ moredetail: "from the items tab of the catalog module" >+ pendingreserves: "from the 'Holds to pull' list" >+ onpayment: "when receiving payment for the item" >+ claim_returned: "when marking an item as a return claim" >+ - . >+ - >+ - "Update item status to" >+ - pref: UpdateItemLostStatusWhenPaid >+ choices: authval >+ source: LOST >+ - "when the outstanding balance is paid." >+ - >+ - "Update item status to" >+ - pref: UpdateItemLostStatusWhenWriteoff >+ choices: authval >+ source: LOST >+ - "when the outstanding balance is written off." > Checkin policy: > - > - pref: TrapHoldsOnOrder >@@ -1098,7 +1097,7 @@ Circulation: > 1: Email > 0: "Don't email" > - a patron when they have placed a hold. >- Fines Policy: >+ Fines policy: > - > - pref: finesCalendar > type: choice >-- >2.39.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 36777
:
167325
|
167339