projects
/
infodrom
/
hallinta
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d72d887
)
Need to use the pristine column name without alias for sorting
author
Joey Schulze
<joey@infodrom.org>
Thu, 12 Aug 2010 18:47:02 +0000
(20:47 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Thu, 12 Aug 2010 18:47:02 +0000
(20:47 +0200)
lib/rico/dbClass2.php
patch
|
blob
|
history
diff --git
a/lib/rico/dbClass2.php
b/lib/rico/dbClass2.php
index
94a3f13
..
0f6b8d9
100644
(file)
--- a/
lib/rico/dbClass2.php
+++ b/
lib/rico/dbClass2.php
@@
-66,7
+66,7
@@
class sqlParse {
if (!empty($this->WhereClause)) {
$sqltext.=" WHERE ".$this->WhereClause;
}
- $sqltext.=" ORDER BY ".$this->
UnparseColumn($colnum)
;
+ $sqltext.=" ORDER BY ".$this->
arSelList[$colnum]
;
return $sqltext;
}