From 7908728fad477f68f6f9633d2e79c53956169934 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 14 Sep 2014 00:42:03 +0200 Subject: [PATCH] Added sorting for number and name in work order inquiry. --- manufacturing/search_work_orders.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'), -- 2.30.2