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 182-192 $(document).ready(function() { Link Here
182
                [% END %]
182
                [% END %]
183
            </td>
183
            </td>
184
            <td class="hq-patron">
184
            <td class="hq-patron">
185
              [% IF Koha.Preference('HidePatronName') %]
185
              <p>
186
                <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% itemsloo.borrowernumber %]#reserves">[% itemsloo.cardnumber %]</a></p>
186
                  [% INCLUDE 'patron-title.inc' patron=itemsloo.patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]
187
              [% ELSE %]
187
              </p>
188
                <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% itemsloo.borrowernumber %]#reserves">[% itemsloo.surname %], [% itemsloo.firstname %] ([% itemsloo.cardnumber %])</a></p>
188
              [% UNLESS Koha.Preference('HidePatronName') %]
189
                <p>[% itemsloo.phone %]</p>
189
                 <p>[% itemsloo.patron.phone %]</p>
190
              [% END %]
190
              [% END %]
191
            </td>
191
            </td>
192
            <td class="hq-sendto">[% Branches.GetName( itemsloo.pickbranch ) %]</td>
192
            <td class="hq-sendto">[% Branches.GetName( itemsloo.pickbranch ) %]</td>
193
- 

Return to bug 18403