--- html/inc/org_jed.inc 2000/03/10 12:00:44 1.1
+++ html/inc/org_jed.inc 2001/04/24 13:57:23 1.2
@@ -6,7 +6,7 @@
$pod_option=""; // HTML pod \n";
}
- $result = pg_Exec ($conn, "select pod_id,nad_id,pod_naziv from org_pod_jed where pod_aktivna=true"); $delim = "";
+ $result = pg_Exec ($conn, "select pod_id,nad_id,pod_naziv from org_pod_jed where pod_aktivna=true order by nad_id,pod_id"); $delim = "";
for ($k = 0; $k < pg_numrows($result); $k++) {
$row=pg_fetch_array($result,$k);
echo "$delim \"$row[nad_id],$row[pod_id],$row[pod_naziv]\" ";