Bugzilla – Attachment 141799 Details for
Bug 31735
Avoid re-fetching objects from database by passing them down instead of object ids
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31735: Match rules on effective item type instead of itype
Bug-31735-Match-rules-on-effective-item-type-inste.patch (text/plain), 897 bytes, created by
David Gustafsson
on 2022-10-13 11:52:06 UTC
(
hide
)
Description:
Bug 31735: Match rules on effective item type instead of itype
Filename:
MIME Type:
Creator:
David Gustafsson
Created:
2022-10-13 11:52:06 UTC
Size:
897 bytes
patch
obsolete
>From b640dccff525a645b0860434f3c2719627813e16 Mon Sep 17 00:00:00 2001 >From: David Gustafsson <david.gustafsson@ub.gu.se> >Date: Mon, 10 Oct 2022 16:33:15 +0200 >Subject: [PATCH] Bug 31735: Match rules on effective item type instead of > itype > >--- > C4/Circulation.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 34a6f94769..e527b68032 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2564,7 +2564,7 @@ sub _calculate_new_debar_dt { > my $circcontrol = C4::Context->preference('CircControl'); > my $issuing_rule = Koha::CirculationRules->get_effective_rules( > { categorycode => $patron->categorycode, >- itemtype => $item->{itype}, >+ itemtype => $item->effective_itemtype, > branchcode => $branchcode, > rules => [ > 'finedays', >-- >2.35.1
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 31735
:
141603
|
141604
|
141605
|
141606
|
141607
|
141608
|
141609
|
141610
|
141795
|
141796
|
141797
|
141798
|
141799
|
141800
|
141819
|
141820
|
141821
|
142865
|
142866
|
142867
|
142868
|
142869
|
142870
|
144628
|
144629
|
144630
|
144631
|
144632
|
144635
|
144721
|
144724
|
144784
|
144790
|
144791
|
144792
|
144798
|
144799
|
144800
|
144801
|
144802
|
144803
|
145028
|
145029
|
145030
|
145032
|
145033
|
145034
|
145035
|
146735
|
146736
|
146737
|
147124
|
147125
|
147126
|
147127
|
147128
|
147164
|
147165
|
147166
|
150611
|
150612
|
150613
|
150676
|
150677
|
150678
|
150699
|
150700
|
150701