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 5-10 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE Categories %]
6
[% USE Categories %]
7
[% USE ItemTypes %]
7
[% USE ItemTypes %]
8
[% USE AuthorisedValues %]
8
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
9
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
10
[% UNLESS ( multi_hold ) %]
11
[% UNLESS ( multi_hold ) %]
Lines 292-297 Link Here
292
                    <th>Barcode</th>
293
                    <th>Barcode</th>
293
                    <th>Home library</th>
294
                    <th>Home library</th>
294
                    <th>Last location</th>
295
                    <th>Last location</th>
296
                [% IF itemdata_ccode %]
297
                    <th>Collection</th>
298
                [% END %]
295
                    <th>Call no.</th>
299
                    <th>Call no.</th>
296
                    <th>Copy number</th>
300
                    <th>Copy number</th>
297
                [% IF itemdata_enumchron %]
301
                [% IF itemdata_enumchron %]
Lines 359-364 Link Here
359
                    <td>
363
                    <td>
360
                        [% Branches.GetName( itemloo.holdingbranch ) | html %]
364
                        [% Branches.GetName( itemloo.holdingbranch ) | html %]
361
                    </td>
365
                    </td>
366
                [% IF itemdata_ccode %]
367
                    <td>
368
                        [% IF ( itemloo.ccode ) %][% AuthorisedValues.GetByCode( 'CCODE', itemloo.ccode ) %][% END %]
369
                    </td>
370
                [% END %]
362
                    <td>
371
                    <td>
363
                        [% itemloo.itemcallnumber | html %]
372
                        [% itemloo.itemcallnumber | html %]
364
                    </td>
373
                    </td>
(-)a/reserve/request.pl (-1 / +6 lines)
Lines 203-208 my $patron = Koha::Patrons->find( $borrowernumber_hold ); Link Here
203
my $logged_in_patron = Koha::Patrons->find( $borrowernumber );
203
my $logged_in_patron = Koha::Patrons->find( $borrowernumber );
204
204
205
my $itemdata_enumchron = 0;
205
my $itemdata_enumchron = 0;
206
my $itemdata_ccode = 0;
206
my @biblioloop = ();
207
my @biblioloop = ();
207
foreach my $biblionumber (@biblionumbers) {
208
foreach my $biblionumber (@biblionumbers) {
208
    next unless $biblionumber =~ m|^\d+$|;
209
    next unless $biblionumber =~ m|^\d+$|;
Lines 497-502 foreach my $biblionumber (@biblionumbers) { Link Here
497
                if ($item->{enumchron}) {
498
                if ($item->{enumchron}) {
498
                    $itemdata_enumchron = 1;
499
                    $itemdata_enumchron = 1;
499
                }
500
                }
501
                # Show collection when needed
502
                if ($item->{ccode}) {
503
                    $itemdata_ccode = 1;
504
                }
500
            }
505
            }
501
506
502
            push @{ $biblioitem->{itemloop} }, $item;
507
            push @{ $biblioitem->{itemloop} }, $item;
Lines 608-613 foreach my $biblionumber (@biblionumbers) { Link Here
608
                     optionloop        => \@optionloop,
613
                     optionloop        => \@optionloop,
609
                     bibitemloop       => \@bibitemloop,
614
                     bibitemloop       => \@bibitemloop,
610
                     itemdata_enumchron => $itemdata_enumchron,
615
                     itemdata_enumchron => $itemdata_enumchron,
616
                     itemdata_ccode    => $itemdata_ccode,
611
                     date              => $date,
617
                     date              => $date,
612
                     biblionumber      => $biblionumber,
618
                     biblionumber      => $biblionumber,
613
                     findborrower      => $findborrower,
619
                     findborrower      => $findborrower,
614
- 

Return to bug 20450