From 90452ff0ccf3fd79dcde4a256ea78ee23f60b7b8 Mon Sep 17 00:00:00 2001 From: tgarip1957 Date: Thu, 28 Sep 2006 14:13:37 +0000 Subject: [PATCH] Add faceted search code --- acqui/addorder.pl | 3 +-- acqui/newordersuggestion.pl | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/acqui/addorder.pl b/acqui/addorder.pl index 97687d4e22..79c08673dd 100755 --- a/acqui/addorder.pl +++ b/acqui/addorder.pl @@ -189,7 +189,6 @@ my $xmlhash=XMLkoha2marc($dbh,$biblio,"biblios"); $biblionumber = NEWnewbiblio($dbh,$xmlhash,""); ModStatus( $suggestionid, 'ORDERED', '', $biblionumber,$input ); -warn "modstatus"; } }## biblio didnot exist now created @@ -222,5 +221,5 @@ else { # $biblionumber = $input->param('biblionumber'); DelOrder( $biblionumber, $ordnum,$loggedinuser ); } -warn "goingout"; + print $input->redirect("basket.pl?basketno=$basketno"); diff --git a/acqui/newordersuggestion.pl b/acqui/newordersuggestion.pl index 0571d5eaec..52e30914e6 100755 --- a/acqui/newordersuggestion.pl +++ b/acqui/newordersuggestion.pl @@ -148,7 +148,7 @@ foreach (@$suggestions_loop) { push @value, $_->{publishercode}; } - my ($nbresult,@finalresult) = ZEBRAsearch_kohafields(\@kohafields,\@value,\@relation,"",\@and_or,0,"",0,1); + my ($nbresult,$facets,@finalresult) = ZEBRAsearch_kohafields(\@kohafields,\@value,\@relation,"",\@and_or,0,"",0,1); # there is at least 1 result => return the 1st one if ($nbresult) { -- 2.39.5