diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-09 22:51:13 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-09 22:51:13 +0000 |
commit | 3c20e034900eab81b4c77687d638aaaedb848200 (patch) | |
tree | b225e4376862fe9b736f2ce093b7c18175115825 | |
parent | 31c34bd20feb6df5550d8d7f31805093020043d9 (diff) |
Fixing bug 1750033
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1360 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | LedgerSMB/IC.pm | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm index afd5d50b..c34aebbd 100644 --- a/LedgerSMB/IC.pm +++ b/LedgerSMB/IC.pm @@ -1599,13 +1599,8 @@ sub include_assembly { $form->{$id} = 1; my @a = qw(partnumber description bin); - if ( $form->{sort} eq 'partnumber' ) { - $sortorder = "TRUE"; - } - else { - @a = grep !/$form->{sort}/, @a; - $sortorder = "$form->{sort} $form->{direction}, " . join ',', @a; - } + @a = grep !/$form->{sort}/, @a; + $sortorder = "$form->{sort} $form->{direction}, " . join ',', @a; @a = (); my $query = qq| |