[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1360] trunk/LedgerSMB/IC.pm



Revision: 1360
          http://svn.sourceforge.net/ledger-smb/?rev=1360&view=rev
Author:   einhverfr
Date:     2007-07-09 15:51:13 -0700 (Mon, 09 Jul 2007)

Log Message:
-----------
Fixing bug 1750033

Modified Paths:
--------------
    trunk/LedgerSMB/IC.pm

Modified: trunk/LedgerSMB/IC.pm
===================================================================
--- trunk/LedgerSMB/IC.pm	2007-07-09 22:18:22 UTC (rev 1359)
+++ trunk/LedgerSMB/IC.pm	2007-07-09 22:51:13 UTC (rev 1360)
@@ -1599,13 +1599,8 @@
     $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|


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.