From c2833f823676e017f2f693364d56d86c49592028 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 13 Apr 2008 20:35:10 +0000 Subject: select-table and select-part_pkg updates so we can use select-part_pkg as an edit/elements/edit.html m2 type --- httemplate/elements/select-table.html | 1 + 1 file changed, 1 insertion(+) (limited to 'httemplate/elements/select-table.html') diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 5d6c4a82c..7339f362c 100644 --- a/httemplate/elements/select-table.html +++ b/httemplate/elements/select-table.html @@ -100,6 +100,7 @@ if ( $opt{'records'} ) { 'table' => $opt{'table'}, 'hashref' => ( $opt{'hashref'} || {} ), 'extra_sql' => ( $opt{'extra_sql'} || '' ), + 'order_by' => ( $opt{'order_by'} || "ORDER BY $name_col" ), }); } -- cgit v1.2.1