GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
661e298
)
Vychozi razeni zmeneno na sestupne (aby byl ihned videt nejnovejsi pohyb)
author
Thomas Mudrunka
<tomas@mudrunka.cz>
Mon, 14 Nov 2011 14:23:29 +0000
(15:23 +0100)
committer
Thomas Mudrunka
<tomas@mudrunka.cz>
Mon, 14 Nov 2011 14:23:29 +0000
(15:23 +0100)
index.php
patch
|
blob
|
blame
|
history
diff --git
a/index.php
b/index.php
index 43acfb25ba8c55bdac5b38eb8dca07e01a337d62..ced23c4aae5369ccfdbc6113acf714d9c0b2cfda 100755
(executable)
--- a/
index.php
+++ b/
index.php
@@
-516,7
+516,7
@@
class Sklad_DB extends PDO {
if($where) $sql .= 'WHERE ('.implode(') AND (', $where).")\n";
//ORDER
- if(!$order) $order = $class.$suffix_id;
+ if(!$order) $order = $class.$suffix_id
.' DESC'
;
if($this->contains_history($class)) $order .= ",${class}_valid_from DESC";
$sql .= "ORDER BY $order\n";
//LIMIT/OFFSET
This page took
0.145799 seconds
and
4
git commands to generate.