Item8122: Sorting does not work if headerrows > 1

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: TablePlugin
Branches:
Reported By: Foswiki:Main.JanCarstenJ
Waiting For:
Last Change By: KennethLavrsen
The sorting does not work if the parameter "Headerrows" is greater than one.

Here are the examples: (The FosWiki source first and then the rendered text)

Sorting works
%TABLE{ cellpadding="3" initsort="1" headerrows="1" initdirection="down" }% 
| *Tool name* | *Version* | *License type* | *Price for tool* | *Price for license* | *Tool Champion* | *Status date and signature* |
| Example tool | Version 1.2 | Free | 20.000,00 $ | N/A | Main.JanCarstenJ | 2004 Sep 07 Main.JanCarstenJ |
| [[http://find.my.fault.com][Find a fault]] | Version 5.3.3 | Free | 0 $ | 0 $ | Main.SantaClaus | 2007 Jul 03 Main.JanCarstenJ |
| [[http://dmi.dk][DMI]] | Version 5.3.3 | Free | 0 $ | 0 $ | Main.TheRainMan | 2007 Jul 03 Main.JanCarstenJ |
Tool name Version License type Price for tool Price for license Tool Champion Status date and signature
DMI Version 5.3.3 Free 0 $ 0 $ TheRainMan 2007 Jul 03 JanCarstenJ
Example tool Version 1.2 Free 20.000,00 $ N/A JanCarstenJ 2004 Sep 07 JanCarstenJ
Find a fault Version 5.3.3 Free 0 $ 0 $ SantaClaus 2007 Jul 03 JanCarstenJ

Sorting does not work

%TABLE{ cellpadding="3" initsort="1" headerrows="2" initdirection="down" }% 
| *Tool name* | *Version* | *License type* | *Price for tool* | *Price for license* | *Tool Champion* | *Status date and signature* |
| Example tool | Version 1.2 | Free | 20.000,00 $ | N/A | Main.JanCarstenJ | 2004 Sep 07 Main.JanCarstenJ |
| [[http://find.my.fault.com][Find a fault]] | Version 5.3.3 | Free | 0 $ | 0 $ | Main.SantaClaus | 2007 Jul 03 Main.JanCarstenJ |
| [[http://dmi.dk][DMI]] | Version 5.3.3 | Free | 0 $ | 0 $ | Main.TheRainMan | 2007 Jul 03 Main.JanCarstenJ |
Tool name Version License type Price for tool Price for license Tool Champion Status date and signature
Example tool Version 1.2 Free 20.000,00 $ N/A JanCarstenJ 2004 Sep 07 JanCarstenJ
DMI Version 5.3.3 Free 0 $ 0 $ TheRainMan 2007 Jul 03 JanCarstenJ
Find a fault Version 5.3.3 Free 0 $ 0 $ SantaClaus 2007 Jul 03 JanCarstenJ

-- JanCarstenJ - 20 Apr 2009

we have the same problem on StatusOfPortingExtensionsToFoswiki. Confirmed.

-- WillNorris - 20 Apr 2009

Solved with Item2039.

-- ArthurClemens - 12 Sep 2009

ItemTemplate edit

Summary Sorting does not work if headerrows > 1
ReportedBy Foswiki:Main.JanCarstenJ
Codebase 1.0.4
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 Oct 2010, KennethLavrsen
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