change default sort by

This commit is contained in:
kados 2006-03-22 03:55:10 +00:00
parent 2f3a223148
commit 2d92cb70ea

View file

@ -274,11 +274,11 @@ sub catalogsearch {
elsif ($orderby eq 'biblioitems.publishercode'){
$sort="1=1018";
}
if ($desc_or_asc eq 'ASC'){
$sort.=" <i";
if ($desc_or_asc eq 'DESC'){
$sort.=" >i";
}
else {
$sort.=" >i";
$sort.=" <i";
}
if ($rs->sort("yaz", $sort) < 0) {