Prior to some version of Foswiki, the sort in the TablePlugin stripped extraneous HTML from string data before comparing.

This behaviour has been changed.
===================================================================
--- Core.pm     (revision 6090)
+++ Core.pm     (working copy)
@@ -1316,12 +1316,12 @@
                 # SMELL: efficient? That's not efficient!
                 @curTable = map { $_->[0] }
                   sort { $b->[1] cmp $a->[1] }
-                  map { [ $_, lc( $_->[$sortCol]->{text} ) ] } @curTable;
+                  map { [ $_, lc( _stripHtml( $_->[$sortCol]->{text} )) ] } @curTable;
             }
             if ( $currentSortDirection == $sortDirection{'ASCENDING'} ) {
                 @curTable = map { $_->[0] }
                   sort { $a->[1] cmp $b->[1] }
-                  map { [ $_, lc( $_->[$sortCol]->{text} ) ] } @curTable;
+                  map { [ $_, lc( _stripHtml( $_->[$sortCol]->{text} )) ] } @curTable;
             }
         }
         else {
has to be restored.

This is already fixed in trunk.

-- CrawfordCurrie - 18 Aug 2010

applied, i wonder why Crawford didn't smile

-- SvenDowideit - 24 Aug 2010

priorities

-- CrawfordCurrie - 27 Aug 2010
 

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads