www/includes/db_inventory_hops.php

changeset 37
9362eb9e9e5b
parent 33
2ee6ad5d6f14
child 77
a9f8de2d7b2b
--- a/www/includes/db_inventory_hops.php	Sat Aug 25 11:40:31 2018 +0200
+++ b/www/includes/db_inventory_hops.php	Sat Aug 25 13:07:13 2018 +0200
@@ -11,7 +11,7 @@
 }
 
 // get data and store in a json array
-$query = "SELECT * FROM inventory_hops";
+$query = "SELECT * FROM inventory_hops ORDER BY origin,name";
 if (isset($_GET['insert'])) {
 	// INSERT COMMAND
 	$sql  = "INSERT INTO `inventory_hops` SET name='" . mysqli_real_escape_string($connect, $_GET['name']);

mercurial