Minor fixes in the former files
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 14 May 2008 09:14:19 +0000 (09:14 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 14 May 2008 09:14:19 +0000 (09:14 +0000)
CHANGELOG.txt
includes/ui/ui_lists.inc

index 258a2decdef544881c36ba49bcb7319c8e9b195b..a23f44004b1e3998e57c0e6934b3dca0ceb3e8f0 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+14-May-2008 Joe Hunt
+# Minor bugs in the former fixing.
+$ /includes/ui/ui_lists.inc
+
 14-May-2008 Joe Hunt
 # When no_item_list or no_customer_list or no_supplier_list was checked in company setup the listboxes were filled with all
   the records when there were no search values.
index 6e5bde4005f760cdc943c12c32211d3108c37f5e..50bcbfebbb12d9255267b7fe90f8757c17dd2bc4 100644 (file)
@@ -52,6 +52,8 @@ function supplier_list($name, $selected_id, $all_option=false, $submit_on_change
 
                echo sprintf($search_button, $edit_button);
        }
+       else
+               $supplier_sql .= "ORDER BY supp_name";
 
        $supplier_result = db_query($supplier_sql);
 
@@ -160,6 +162,8 @@ function customer_list($name, $selected_id, $all_option=false, $submit_on_change
 
                echo sprintf($search_button, $edit_button);
        }
+       else
+               $customer_sql .= "ORDER BY name";
 
        $customer_result = db_query($customer_sql);