Priority: Urgent
Current State: Closed
Released In: 1.0.10
Target Release: patch
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
--
SvenDowideit - 24 Aug 2010
priorities
--
CrawfordCurrie - 27 Aug 2010