From: Joe Date: Sat, 13 Sep 2014 22:42:03 +0000 (+0200) Subject: Added sorting for number and name in work order inquiry. X-Git-Tag: 2.3-final~113 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=7908728fad477f68f6f9633d2e79c53956169934 Added sorting for number and name in work order inquiry. --- diff --git a/manufacturing/search_work_orders.php b/manufacturing/search_work_orders.php index 05892e3e..7610a1cb 100644 --- a/manufacturing/search_work_orders.php +++ b/manufacturing/search_work_orders.php @@ -156,11 +156,11 @@ function dec_amount($row, $amount) $sql = get_sql_for_work_orders($outstanding_only, $all_items); $cols = array( - _("#") => array('fun'=>'view_link'), + _("#") => array('fun'=>'view_link', 'ord'=>''), _("Reference"), // viewlink 2 ? _("Type") => array('fun'=>'wo_type_name'), _("Location"), - _("Item") => array('fun'=>'view_stock'), + _("Item") => array('fun'=>'view_stock', 'ord'=>''), _("Required") => array('fun'=>'dec_amount', 'align'=>'right'), _("Manufactured") => array('fun'=>'dec_amount', 'align'=>'right'), _("Date") => array('name'=>'date_', 'type'=>'date', 'ord'=>'desc'),