From: Joe Hunt Date: Fri, 26 Mar 2010 15:16:41 +0000 (+0000) Subject: Fixed a sorting problem in gl_account_types_list X-Git-Tag: v2.4.2~19^2~927 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=d693277b02db4808742bb0d621f158f78e93a3db;p=fa-stable.git Fixed a sorting problem in gl_account_types_list --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 76b202f0..c2f41dd3 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +26-Mar-2010 Joe Hunt +# Fixed a sorting problem in gl_account_types_list +$ /includes/ui/ui_lists.inc + 24-Mar-2010 Janusz Dobrowolski/Joe Hunt # Fixed problem with multiply zeros a value of option in list selectors # Parse error in ui_list.inc. Fix in other files. diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 8d905f63..e923c2ee 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -1539,7 +1539,7 @@ function gl_account_types_list($name, $selected_id=null, $all_option=false, $all return combo_input($name, $selected_id, $sql, 'id', 'name', array( - 'order' => 'class_id', 'id', + 'order' => array('class_id', 'id', 'parent'), 'spec_option' =>$all_option, 'spec_id' => $all_items ) );