projects
/
misc
/
kostenrechnung
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Need to use the pristine column name without alias for sorting
[misc/kostenrechnung]
/
lib
/
rico
/
dbClass2.php
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;
}