Bugzilla – Attachment 136084 Details for
Bug 25560
Define itemtype specific rules in the UpdateNotForLoanStatusOnCheckin system preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25560: (QA follow-up) Add boolean to schema for updatenotforloan and update syspref
Bug-25560-QA-follow-up-Add-boolean-to-schema-for-u.patch (text/plain), 2.77 KB, created by
Nick Clemens (kidclamp)
on 2022-06-15 11:32:18 UTC
(
hide
)
Description:
Bug 25560: (QA follow-up) Add boolean to schema for updatenotforloan and update syspref
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-06-15 11:32:18 UTC
Size:
2.77 KB
patch
obsolete
>From 3fdda0f62863998cc7ee5e3a2b88cae8d2f755f0 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 15 Jun 2022 11:10:35 +0000 >Subject: [PATCH] Bug 25560: (QA follow-up) Add boolean to schema for > updatenotforloan and update syspref > >This patch adds boolean definition to schema and adds some verbosity to the syspref >to make it clear that itemtypes must be set to update > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > Koha/Schema/Result/Itemtype.pm | 1 + > .../prog/en/modules/admin/preferences/circulation.pref | 8 ++++---- > 2 files changed, 5 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm >index db8b6f37c6..a8b05f6782 100644 >--- a/Koha/Schema/Result/Itemtype.pm >+++ b/Koha/Schema/Result/Itemtype.pm >@@ -348,6 +348,7 @@ __PACKAGE__->add_columns( > '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, > '+rentalcharge_daily_calendar' => { is_boolean => 1 }, > '+automatic_checkin' => { is_boolean => 1 }, >+ '+updatenotforloan' => { is_boolean => 1 }, > ); > > # Use the ItemtypeLocalization view to create the join on localization >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 ac20ced2de..3042a7643d 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 >@@ -636,10 +636,10 @@ Circulation: > type: textarea > syntax: text/x-yaml > class: code >- - This is a list of value pairs. When an item is checked in, if the not for loan value on the left matches the items not for loan value >- - "it will be updated to the right-hand value. For example, '-1: 0' will cause an item that was set to 'Ordered' to now be available for loan." >- - Each pair of values should be on a separate line. >- - Enable itemtypes to be updated upon checkin on the item type page (Administration > Item types) >+ - "NOTE: Only itemtypes marked to 'Update note for loan status on check-in' on the item type administration page (Administration > Item types) will be affected.</br>" >+ - This is a list of value pairs. Each pair of values should be on a separate line.</br> >+ - When an item is checked in, if the not for loan value on the left matches the items not for loan value >+ - "it will be updated to the right-hand value. For example, '-1: 0' will cause an item that was set to 'Ordered' to now be available for loan.</br>" > - > - pref: CumulativeRestrictionPeriods > choices: >-- >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 25560
:
105236
|
105237
|
105238
|
105239
|
105240
|
105241
|
105242
|
105243
|
105244
|
105245
|
109562
|
109563
|
109564
|
109565
|
109566
|
109567
|
112492
|
112887
|
113161
|
113212
|
113213
|
113214
|
113215
|
113216
|
113217
|
131816
|
131817
|
131818
|
131819
|
131820
|
135742
|
135743
|
136079
|
136080
|
136081
|
136082
|
136083
|
136084
|
138494
|
138495
|
138496
|
138497
|
138498
|
138499
|
146556
|
146557
|
146558
|
146559
|
146993
|
148679
|
148680
|
148681
|
148682
|
148683