From 2f7a787556f62cfa4b1d1a6992afc0c53b7d45c4 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Tue, 9 Oct 2012 17:34:58 +0200 Subject: [PATCH] Bug 8570 follow-up removing tabs & improving indentation Signed-off-by: Paul Poulain --- acqui/z3950_search.pl | 44 ++++++++++++++++++------------------- cataloguing/z3950_search.pl | 4 ++-- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/acqui/z3950_search.pl b/acqui/z3950_search.pl index e1df23c0f3..68cd0d6a5d 100755 --- a/acqui/z3950_search.pl +++ b/acqui/z3950_search.pl @@ -46,28 +46,28 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( ); -my $dbh = C4::Context->dbh; -my $error = $input->param('error'); -my $biblionumber = $input->param('biblionumber'); -$biblionumber = 0 unless $biblionumber; -my $frameworkcode = $input->param('frameworkcode'); -my $title = $input->param('title'); -my $author = $input->param('author'); -my $isbn = $input->param('isbn'); -my $issn = $input->param('issn'); -my $lccn = $input->param('lccn'); +my $dbh = C4::Context->dbh; +my $error = $input->param('error'); +my $biblionumber = $input->param('biblionumber'); +$biblionumber = 0 unless $biblionumber; +my $frameworkcode = $input->param('frameworkcode'); +my $title = $input->param('title'); +my $author = $input->param('author'); +my $isbn = $input->param('isbn'); +my $issn = $input->param('issn'); +my $lccn = $input->param('lccn'); my $lccall = $input->param('lccall'); -my $subject= $input->param('subject'); -my $dewey = $input->param('dewey'); -my $controlnumber = $input->param('controlnumber'); -my $op = $input->param('op'); -my $booksellerid = $input->param('booksellerid'); -my $basketno = $input->param('basketno'); - -my $page = $input->param('current_page') || 1; -$page = $input->param('goto_page') if $input->param('changepage_goto'); -my $show_next = 0; -my $total_pages = 0; +my $subject = $input->param('subject'); +my $dewey = $input->param('dewey'); +my $controlnumber = $input->param('controlnumber'); +my $op = $input->param('op'); +my $booksellerid = $input->param('booksellerid'); +my $basketno = $input->param('basketno'); + +my $page = $input->param('current_page') || 1; +$page = $input->param('goto_page') if $input->param('changepage_goto'); +my $show_next = 0; +my $total_pages = 0; my $noconnection; my $attr = ''; @@ -342,7 +342,7 @@ warn "query ".$query if $DEBUG; $template->param(show_nextbutton=>1) if $show_next; $template->param(show_prevbutton=>1) if $page != 1; - # print $template->output if $firstresult !=1; + # print $template->output if $firstresult !=1; $firstresult++; } # while nremaining diff --git a/cataloguing/z3950_search.pl b/cataloguing/z3950_search.pl index f8968e3dfd..fd4eff9e13 100755 --- a/cataloguing/z3950_search.pl +++ b/cataloguing/z3950_search.pl @@ -94,8 +94,8 @@ $template->param( title => $title, author => $author, controlnumber=> $controlnumber, - stdid => $stdid, - srchany => $srchany, + stdid => $stdid, + srchany => $srchany, biblionumber => $biblionumber, dewey => $dewey, subject => $subject, -- 2.39.2