summaryrefslogtreecommitdiff
path: root/www/get.php
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-07-30 20:49:38 +0000
committerIan C <ianc@noddybox.co.uk>2018-07-30 20:49:38 +0000
commitfdf45783f5c8c01613915ea10ac8458ed50c027f (patch)
tree501a35df10aebaed7e160f01d79deb779578ec76 /www/get.php
parent1742a245acd15db2d017b5f443a316fc624d8868 (diff)
Finished rejig of interface to a single record.
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"];