Implemented search on categories as well in sales_items_list...
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 12 Dec 2009 15:32:21 +0000 (15:32 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 12 Dec 2009 15:32:21 +0000 (15:32 +0000)
CHANGELOG.txt
includes/ui/ui_lists.inc

index 41afd4fe9f714fca88247599e7677e561596b810..1ed6714c2d6e560de2936dd437341d0bdc9a25d8 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+12-Dec-2009 Joe Hunt
+! Implemented search on categories as well in sales_items_list...
+$ /includes/ui/ui_lists.inc
+
 09-Dec-2009 Janusz Dobrowolski
 + Added system diagnostics page
 $ /admin/system_diagnostics.php
index b9ef39d587e3a9f02d7e2c68766b2da376f19318..d84b0d9df04d6f310e4d9daf92192059b6128f0a 100644 (file)
@@ -746,7 +746,7 @@ function sales_items_list($name, $selected_id=null, $all_option=false,
                'spec_option' => $all_option===true ?  _("All Items") : $all_option,
                'spec_id' => $all_items,
                'search_box' => true,
-               'search' => array("i.item_code", "i.description"),
+               'search' => array("i.item_code", "c.description", "i.description"),
                'search_submit' => get_company_pref('no_item_list')!=0,
                'size'=>15,
                'select_submit'=> $submit_on_change,