projects
/
misc
/
hallinta-metro
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3db1e78
)
Improve ordering
author
Joey Schulze
<joey@infodrom.org>
Mon, 4 Feb 2013 19:01:04 +0000
(20:01 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Mon, 4 Feb 2013 19:01:04 +0000
(20:01 +0100)
utils.php
patch
|
blob
|
history
diff --git
a/utils.php
b/utils.php
index
b54e4dd
..
a56b1db
100644
(file)
--- a/
utils.php
+++ b/
utils.php
@@
-147,7
+147,7
@@
function ordersatz_write($id, $dir, $send)
"JOIN metro_abteilung ON abteilung = metro_abteilung.id " .
"JOIN metro_vpe ON vpe = metro_vpe.id " .
"WHERE ordersatz = %d AND anzahl IS NOT NULL " .
"JOIN metro_abteilung ON abteilung = metro_abteilung.id " .
"JOIN metro_vpe ON vpe = metro_vpe.id " .
"WHERE ordersatz = %d AND anzahl IS NOT NULL " .
- "ORDER BY gang,metro_abteilung.name",
+ "ORDER BY gang,metro_abteilung.name
,bezeichnung
",
$id);
$result = query_db($sql);
$id);
$result = query_db($sql);