change default sort by
This commit is contained in:
parent
2f3a223148
commit
2d92cb70ea
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue