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

(-)a/catalogue/search.pl (-3 / +3 lines)
Lines 563-568 for (my $i=0;$i<@servers;$i++) { Link Here
563
            exit;
563
            exit;
564
        }
564
        }
565
565
566
        # set up parameters if user wishes to re-run the search
567
        # as a Z39.50 search
568
        $template->param (z3950_search_params => C4::Search::z3950_search_args($z3950par || $query_desc));
566
569
567
        if ($hits) {
570
        if ($hits) {
568
            $template->param(total => $hits);
571
            $template->param(total => $hits);
Lines 575-581 for (my $i=0;$i<@servers;$i++) { Link Here
575
            $template->param(limit_desc => $limit_desc);
578
            $template->param(limit_desc => $limit_desc);
576
            $template->param(offset     => $offset);
579
            $template->param(offset     => $offset);
577
            $template->param(DisplayMultiPlaceHold => $DisplayMultiPlaceHold);
580
            $template->param(DisplayMultiPlaceHold => $DisplayMultiPlaceHold);
578
            $template->param (z3950_search_params => C4::Search::z3950_search_args($query_desc));
579
            if ($query_desc || $limit_desc) {
581
            if ($query_desc || $limit_desc) {
580
                $template->param(searchdesc => 1);
582
                $template->param(searchdesc => 1);
581
            }
583
            }
Lines 650-656 for (my $i=0;$i<@servers;$i++) { Link Here
650
        # no hits
652
        # no hits
651
        else {
653
        else {
652
            $template->param(searchdesc => 1,query_desc => $query_desc,limit_desc => $limit_desc);
654
            $template->param(searchdesc => 1,query_desc => $query_desc,limit_desc => $limit_desc);
653
            $template->param (z3950_search_params => C4::Search::z3950_search_args($z3950par || $query_desc));
654
        }
655
        }
655
656
656
    } # end of the if local
657
    } # end of the if local
657
- 

Return to bug 5645