Bugzilla – Attachment 130865 Details for
Bug 29969
Cannot update hold list after holds cancelled in bulk
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30089: (bug 29844 follow-up) Fix placing holds - OPAC
Bug-30089-bug-29844-follow-up-Fix-placing-holds---.patch (text/plain), 1.32 KB, created by
Nick Clemens
on 2022-02-18 15:38:23 UTC
(
hide
)
Description:
Bug 30089: (bug 29844 follow-up) Fix placing holds - OPAC
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2022-02-18 15:38:23 UTC
Size:
1.32 KB
patch
obsolete
>From 868065010c6c8fc5351e4f47e162c0b490c80a5e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 15 Feb 2022 08:42:49 +0100 >Subject: [PATCH] Bug 30089: (bug 29844 follow-up) Fix placing holds - OPAC > >The method Koha::AuthorisedValues->authorised_value is not covered by tests! > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >https://bugs.koha-community.org/show_bug.cgi?id=29969 >--- > opac/opac-reserve.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index 7be38e2568..a998a5bb65 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -460,7 +460,7 @@ foreach my $biblioNum (@biblionumbers) { > } > } > >- my @notforloan_avs = Koha::AuthorisedValues->search_by_koha_field({ kohafield => 'items.notforloan', frameworkcode => $frameworkcode }); >+ my @notforloan_avs = Koha::AuthorisedValues->search_by_koha_field({ kohafield => 'items.notforloan', frameworkcode => $frameworkcode })->as_list; > my $notforloan_label_of = { map { $_->authorised_value => $_->opac_description } @notforloan_avs }; > > my $visible_items = { map { $_->itemnumber => $_ } $biblio->items->filter_by_visible_in_opac( { patron => $patron } )->as_list }; >-- >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 29969
:
129948
|
129990
|
130017
|
130865