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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (+9 lines)
Lines 4-9 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE Categories %]
5
[% USE Categories %]
6
[% USE ItemTypes %]
6
[% USE ItemTypes %]
7
[% USE AuthorisedValues %]
7
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
9
[% UNLESS ( multi_hold ) %]
10
[% UNLESS ( multi_hold ) %]
Lines 291-296 Link Here
291
                    <th>Barcode</th>
292
                    <th>Barcode</th>
292
                    <th>Home library</th>
293
                    <th>Home library</th>
293
                    <th>Last location</th>
294
                    <th>Last location</th>
295
                [% IF itemdata_ccode %]
296
                    <th>Collection</th>
297
                [% END %]
294
                    <th>Call no.</th>
298
                    <th>Call no.</th>
295
                    <th>Copy number</th>
299
                    <th>Copy number</th>
296
                [% IF itemdata_enumchron %]
300
                [% IF itemdata_enumchron %]
Lines 358-363 Link Here
358
                    <td>
362
                    <td>
359
                        [% Branches.GetName( itemloo.holdingbranch ) %]
363
                        [% Branches.GetName( itemloo.holdingbranch ) %]
360
                    </td>
364
                    </td>
365
                [% IF itemdata_ccode %]
366
                    <td>
367
                        [% IF ( itemloo.ccode ) %][% AuthorisedValues.GetByCode( 'CCODE', itemloo.ccode ) %][% END %]
368
                    </td>
369
                [% END %]
361
                    <td>
370
                    <td>
362
                        [% itemloo.itemcallnumber %]
371
                        [% itemloo.itemcallnumber %]
363
                    </td>
372
                    </td>
(-)a/reserve/request.pl (-1 / +6 lines)
Lines 199-204 my $patron = Koha::Patrons->find( $borrowernumber_hold ); Link Here
199
my $logged_in_patron = Koha::Patrons->find( $borrowernumber );
199
my $logged_in_patron = Koha::Patrons->find( $borrowernumber );
200
200
201
my $itemdata_enumchron = 0;
201
my $itemdata_enumchron = 0;
202
my $itemdata_ccode = 0;
202
my @biblioloop = ();
203
my @biblioloop = ();
203
foreach my $biblionumber (@biblionumbers) {
204
foreach my $biblionumber (@biblionumbers) {
204
    next unless $biblionumber =~ m|^\d+$|;
205
    next unless $biblionumber =~ m|^\d+$|;
Lines 492-497 foreach my $biblionumber (@biblionumbers) { Link Here
492
                if ($item->{enumchron}) {
493
                if ($item->{enumchron}) {
493
                    $itemdata_enumchron = 1;
494
                    $itemdata_enumchron = 1;
494
                }
495
                }
496
                # Show collection when needed
497
                if ($item->{ccode}) {
498
                    $itemdata_ccode = 1;
499
                }
495
            }
500
            }
496
501
497
            push @{ $biblioitem->{itemloop} }, $item;
502
            push @{ $biblioitem->{itemloop} }, $item;
Lines 602-607 foreach my $biblionumber (@biblionumbers) { Link Here
602
                     optionloop        => \@optionloop,
607
                     optionloop        => \@optionloop,
603
                     bibitemloop       => \@bibitemloop,
608
                     bibitemloop       => \@bibitemloop,
604
                     itemdata_enumchron => $itemdata_enumchron,
609
                     itemdata_enumchron => $itemdata_enumchron,
610
                     itemdata_ccode    => $itemdata_ccode,
605
                     date              => $date,
611
                     date              => $date,
606
                     biblionumber      => $biblionumber,
612
                     biblionumber      => $biblionumber,
607
                     findborrower      => $findborrower,
613
                     findborrower      => $findborrower,
608
- 

Return to bug 20450