New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item11083 (17 Dec 2011, GeorgeClark)Edit Attach

Item11083: Table should sort if sort is off but initsort has a column number

Priority: Normal
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Extension
Component: TablePlugin
Reported By: ArthurClemens
Waiting For:
Last Change By: GeorgeClark
It is debatable what sort="off" exactly means, but the description in VarTABLE says Set table sorting by clicking headers "on" or "off".. Meaning that this is an interface option only.

If you want to sort the table without that user interface, you should be able to specify:
%TABLE{sort="off" initsort="1" initdirection="down"}%
For example:
a b
f f
z q

Currently (1.1.3) the table is not sorted.

-- ArthurClemens - 27 Aug 2011


ItemTemplate edit

Summary Table should sort if sort is off but initsort has a column number
ReportedBy ArthurClemens
Codebase 1.1.3, trunk
SVN Range
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState Closed
Checkins distro:99e358d9059d distro:0af36a5493bc
TargetRelease patch
ReleasedIn 1.1.4
Topic revision: r4 - 17 Dec 2011, GeorgeClark - This page was cached on 18 Sep 2018 - 18:36.

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