Item8303: Sorting no longer works correctly with multiple headers (trunk only)

Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: TablePlugin
Reported By: Foswiki:Main.AndrewJones
Waiting For:
Last Change By: CrawfordCurrie
Compare the example in trunk with 1.0.7.

-- AndrewJones - 07 Oct 2009

I think this has been fixed.

-- ArthurClemens - 05 Apr 2010

No not yet fixed.

Look at the table below in 1.0.9 and you are able to click the headings in the second header row to sort the columns.

However in trunk the headings are not clickable, so they can not be sorted.

Table with two Header Rows and Footer Row
Num Status Action Who When Progress
Num Status Action Who When Progress
1 C Chose new colours John 1-Dec-02  
2 X Release John 1-Apr-02  
3   Get feedback Anne 1-Feb-02  
12 C Spec error handling Jack 1-Dec-02  
5   Abc John    

-- AndrewJones - 14 Apr 2010


Problem does not affect JQTablePlugin

-- CrawfordCurrie - 28 Jul 2010

In trunk, the top header is still clickable even though it does nothing. On 1.0.9 its not clickable. Maybe a different task can be opened for that.

-- AndrewJones - 28 Jul 2010

Reverted the fix, because it's incompatible with sorting by clicking on the footer rows of the table (as shown by the unit tests)

-- CrawfordCurrie - 29 Jul 2010

OK, better this time; I did the best I can, given the complexity of the code, and lack of comments.

-- CrawfordCurrie - 09 Aug 2010

ItemTemplate edit

Summary Sorting no longer works correctly with multiple headers (trunk only)
ReportedBy Foswiki:Main.AndrewJones
Codebase trunk
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Extension
Component TablePlugin
Priority Urgent
CurrentState Closed
Checkins distro:502d2d8e8dc1 distro:439fd06cfd18 distro:aa988e6afa62 distro:31bfcf0b025e
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r14 - 09 Aug 2010, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy