incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1142834 - /incubator/ooo/site/trunk/lib/view.pm
Date Mon, 04 Jul 2011 22:35:55 GMT
Author: joes
Date: Mon Jul  4 22:35:55 2011
New Revision: 1142834

URL: http://svn.apache.org/viewvc?rev=1142834&view=rev
Log:
stop at first sorted col

Modified:
    incubator/ooo/site/trunk/lib/view.pm

Modified: incubator/ooo/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/lib/view.pm?rev=1142834&r1=1142833&r2=1142834&view=diff
==============================================================================
--- incubator/ooo/site/trunk/lib/view.pm (original)
+++ incubator/ooo/site/trunk/lib/view.pm Mon Jul  4 22:35:55 2011
@@ -186,10 +186,12 @@ sub sort_tables {
             if ($data =~ tr/v/v/) {
                 $col = $cur;
                 $direction = -1;
+                last;
             }
             elsif ($data =~ tr/^/^/) {
                 $col = $cur;
                 $direction = 1;
+                last;
             }
             $cur++;
         }



Mime
View raw message