summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-09 22:51:13 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-09 22:51:13 +0000
commit3c20e034900eab81b4c77687d638aaaedb848200 (patch)
treeb225e4376862fe9b736f2ce093b7c18175115825
parent31c34bd20feb6df5550d8d7f31805093020043d9 (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.pm9
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|