projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc9f606
)
Bug 9458 - Add sorting to lists - QA Followup 2
author
Kyle M Hall
<kyle@bywatersolutions.com>
Tue, 26 Feb 2013 15:34:20 +0000
(10:34 -0500)
committer
Jared Camins-Esakov
<jcamins@cpbibliography.com>
Wed, 13 Mar 2013 13:06:19 +0000
(09:06 -0400)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/VirtualShelves.pm
patch
|
blob
|
history
diff --git
a/C4/VirtualShelves.pm
b/C4/VirtualShelves.pm
index
37babc1
..
254d732
100644
(file)
--- a/
C4/VirtualShelves.pm
+++ b/
C4/VirtualShelves.pm
@@
-276,7
+276,7
@@
sub GetShelfContents {
WHERE vc.shelfnumber=? ";
my @params = ($shelfnumber);
if($sortfield) {
- $query .= " ORDER BY " . $
sortfield
;
+ $query .= " ORDER BY " . $
dbh->quote_identifier( $sortfield )
;
$query .= " DESC " if ( $sort_direction eq 'desc' );
}
if($row_count){