View | Details | Raw Unified | Return to bug 18403
Collapse All | Expand All

(-)a/circ/view_holdsqueue.pl (+3 lines)
Lines 53-58 my $itemtypeslimit = $params->{'itemtypeslimit'}; Link Here
53
if ( $run_report ) {
53
if ( $run_report ) {
54
    # XXX GetHoldsQueueItems() does not support $itemtypeslimit!
54
    # XXX GetHoldsQueueItems() does not support $itemtypeslimit!
55
    my $items = GetHoldsQueueItems($branchlimit, $itemtypeslimit);
55
    my $items = GetHoldsQueueItems($branchlimit, $itemtypeslimit);
56
    for my $item ( @$items ) {
57
        $item->{patron} = Koha::Patrons->find( $item->{borrowernumber} );
58
    }
56
    $template->param(
59
    $template->param(
57
        branchlimit     => $branchlimit,
60
        branchlimit     => $branchlimit,
58
        total      => scalar @$items,
61
        total      => scalar @$items,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-6 / +5 lines)
Lines 151-161 Link Here
151
                [% END %]
151
                [% END %]
152
            </td>
152
            </td>
153
            <td class="hq-patron">
153
            <td class="hq-patron">
154
              [% IF Koha.Preference('HidePatronName') %]
154
              <p>
155
                <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% itemsloo.borrowernumber %]#reserves">[% itemsloo.cardnumber %]</a></p>
155
                  [% INCLUDE 'patron-title.inc' patron=itemsloo.patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]
156
              [% ELSE %]
156
              </p>
157
                <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% itemsloo.borrowernumber %]#reserves">[% itemsloo.surname %], [% itemsloo.firstname %] ([% itemsloo.cardnumber %])</a></p>
157
              [% UNLESS Koha.Preference('HidePatronName') %]
158
                <p>[% itemsloo.phone %]</p>
158
                 <p>[% itemsloo.patron.phone %]</p>
159
              [% END %]
159
              [% END %]
160
            </td>
160
            </td>
161
            <td class="hq-sendto">[% Branches.GetName( itemsloo.pickbranch ) %]</td>
161
            <td class="hq-sendto">[% Branches.GetName( itemsloo.pickbranch ) %]</td>
162
- 

Return to bug 18403