summaryrefslogtreecommitdiff
path: root/www/get.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/get.php')
-rw-r--r--www/get.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/get.php b/www/get.php
index a4e1f2a..ee4dae5 100644
--- a/www/get.php
+++ b/www/get.php
@@ -29,7 +29,8 @@ try
$index = 0;
- foreach ($db->query("SELECT * FROM pm_store ORDER BY display") as $row)
+ foreach ($db->query("SELECT * FROM pm_store ORDER BY groupname, display")
+ as $row)
{
$data = array();
$data["id"] = $row["id"];