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

(-)a/opac/opac-detail.pl (-1 / +1 lines)
Lines 573-579 for my $itm (@items) { Link Here
573
573
574
    # get collection code description, too
574
    # get collection code description, too
575
    my $ccode = $itm->{'ccode'};
575
    my $ccode = $itm->{'ccode'};
576
    $itm->{'ccode'} = $collections->{$ccode} if ( defined($collections) && exists( $collections->{$ccode} ) );
576
    $itm->{'ccode'} = $collections->{$ccode} if $ccode && $collections && $collections->{$ccode};
577
    my $copynumber = $itm->{'copynumber'};
577
    my $copynumber = $itm->{'copynumber'};
578
    $itm->{'copynumber'} = $copynumbers->{$copynumber} if ( defined($copynumbers) && defined($copynumber) && exists( $copynumbers->{$copynumber} ) );
578
    $itm->{'copynumber'} = $copynumbers->{$copynumber} if ( defined($copynumbers) && defined($copynumber) && exists( $copynumbers->{$copynumber} ) );
579
    if ( defined $itm->{'location'} ) {
579
    if ( defined $itm->{'location'} ) {
(-)a/opac/opac-search.pl (-2 / +1 lines)
Lines 623-629 for (my $i=0;$i<@servers;$i++) { Link Here
623
            my $query_cgi_history = $cgi->url(-query=>1);
623
            my $query_cgi_history = $cgi->url(-query=>1);
624
            $query_cgi_history =~ s/^$path_info\?//;
624
            $query_cgi_history =~ s/^$path_info\?//;
625
            $query_cgi_history =~ s/;/&/g;
625
            $query_cgi_history =~ s/;/&/g;
626
            my $query_desc_history = "$query_desc, $limit_desc";
626
            my $query_desc_history = join ", ", grep { defined $_ } $query_desc, $limit_desc;
627
627
628
            if (!$borrowernumber || $borrowernumber eq '') {
628
            if (!$borrowernumber || $borrowernumber eq '') {
629
                # To a cookie (the user is not logged in)
629
                # To a cookie (the user is not logged in)
630
- 

Return to bug 11183