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

(-)a/circ/view_holdsqueue.pl (+2 lines)
Lines 56-61 if ( $run_report ) { Link Here
56
    });
56
    });
57
    for my $item ( @$items ) {
57
    for my $item ( @$items ) {
58
        $item->{patron} = Koha::Patrons->find( $item->{borrowernumber} );
58
        $item->{patron} = Koha::Patrons->find( $item->{borrowernumber} );
59
        my $related_hold = Koha::Holds->search({ borrowernumber => $item->{borrowernumber}, reservedate => $item->{reservedate}, biblionumber => $item->{biblionumber} }, { order_by => 'reservedate' })->next;
60
        $item->{hold_group_id} = $related_hold ? $related_hold->hold_group_id : undef;
59
    }
61
    }
60
    $template->param(
62
    $template->param(
61
        branchlimit     => $branchlimit,
63
        branchlimit     => $branchlimit,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-1 / +3 lines)
Lines 184-189 Link Here
184
                [% ELSE %]
184
                [% ELSE %]
185
                    <strong>[% itemsloo.barcode | html %]</strong> <em>or any available</em>
185
                    <strong>[% itemsloo.barcode | html %]</strong> <em>or any available</em>
186
                [% END %]
186
                [% END %]
187
                [% IF itemsloo.hold_group_id %]
188
                    <div>(part of a <a href="/cgi-bin/koha/reserve/hold-group.pl?hold_group_id=[% itemsloo.hold_group_id %]" class="hold-group">hold group</a>)</div>
189
                [% END %]
187
            </td>
190
            </td>
188
            <td class="hq-patron">
191
            <td class="hq-patron">
189
              <p>
192
              <p>
190
- 

Return to bug 15516