https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36350 --- Comment #30 from David Gustafsson <glasklas@gmail.com> --- (In reply to David Cook from comment #21)
Comment on attachment 177370 [details] [review] Bug 36350: Add caching for Objects::find and Objects::search
Review of attachment 177370 [details] [review]: -----------------------------------------------------------------
::: Koha/Patron.pm @@ +2063,4 @@
@restricted_branchcodes = uniq(@restricted_branchcodes); @restricted_branchcodes = sort(@restricted_branchcodes);
+ $self->{'_cache'}->{"_resetricted_branchcodes:$permission:$subpermission:$group_feature"} = \@restricted_branchcodes;
You've got a typo here "resetricted" instead of "restricted" although I think you've made the typo consistently so it shouldn't really matter too much...
Thanks for catching this, it has now been fixed. -- You are receiving this mail because: You are watching all bug changes.