From fdf45783f5c8c01613915ea10ac8458ed50c027f Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 30 Jul 2018 20:49:38 +0000 Subject: Finished rejig of interface to a single record. --- www/get.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/get.php') 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"]; -- cgit v1.2.3