Add faceted search code

This commit is contained in:
tgarip1957 2006-09-28 14:13:37 +00:00
parent 21a0532176
commit 90452ff0cc
2 changed files with 2 additions and 3 deletions

View File

@ -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");

View File

@ -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) {