projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be48d34
)
Bug 9458 - Add sorting to lists - QA Followup 3
author
Kyle M Hall
<kyle@bywatersolutions.com>
Tue, 5 Mar 2013 17:46:45 +0000
(12:46 -0500)
committer
Jared Camins-Esakov
<jcamins@cpbibliography.com>
Wed, 13 Mar 2013 13:06:20 +0000
(09:06 -0400)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/VirtualShelves/Page.pm
patch
|
blob
|
history
diff --git
a/C4/VirtualShelves/Page.pm
b/C4/VirtualShelves/Page.pm
index
3dfbe60
..
f393cb1
100644
(file)
--- a/
C4/VirtualShelves/Page.pm
+++ b/
C4/VirtualShelves/Page.pm
@@
-249,7
+249,7
@@
sub shelfpage {
my $items;
my $tag_quantity;
my $sortfield = ( $sorton ? $sorton : 'title' );
- $sortfield = $query->param('sort') || $sortfield
|| 'title'
; ## Passed in sorting overrides default sorting
+ $sortfield = $query->param('sort') || $sortfield; ## Passed in sorting overrides default sorting
my $direction = $query->param('direction') || 'asc';
$template->param(
sort => $sortfield,