[Koha-bugs] [Bug 28966] Holds queue viewer too slow to load for large numbers of holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 21 18:02:40 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28966

--- Comment #24 from Andreas Jonsson <andreas.jonsson at kreablo.se> ---

The column "Patron category" on the page /cgi-bin/koha/circ/view_holdsqueue.pl
will contain empty parentheses.

This patch removes the patron attribute from each item:

-    for my $item ( @$items ) {
-        $item->{patron} = Koha::Patrons->find( $item->{borrowernumber} );
-    }

But the displaying of category uses this attribute:

            <td class="hq-patroncategory">[%
itemsloo.patron.category.description | html %] ([% itemsloo.patron.categorycode
| html %])</td>

Also, the phone number should be affected:

              [% UNLESS Koha.Preference('HidePatronName') %]
                 <p>[% itemsloo.patron.phone | html %]</p>
              [% END %]

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list