• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
Context

I use the EditTablePlugin to ease editing fields in a to-do list.

Additionally, the TablePlugin allows to sort the table.

Problem

Sorting does not work for the third row where I use variables to define the content of the cells.

Testcase

As defining variables here (in a bug report) does not work, you have to resort to TestTableSort if you want to reproduce the bug!

Go to TestTableSort and click on the heading Status to sort according to status.

Text DomainSorted descending Status
a hard working Test Work in progress.
f already finished Test Done!
h procrastination rulez Test Not started yet.
d already done Production Done!
c not yet started Frontend Not started yet.
b easily done Backend Done!
e easily but not started Backend Not started yet.
g geeh thats hard Backend Work in progress.

Definitions:

  • Set WORKING = Work in progress.
  • Set DONE = Done!
  • Set NOTSTARTED = Not started yet.

Try TestTableSort if you want to play around.


No fix forthcoming, and too late for Dakar. Deferred as it isn't requirement or urgent.

CC


Undeferred, post Dakar CC

TablePlugin strips out all html when doing a sort. So the icons are competely removed, leaving an empty string.

-- TWiki:Main.ArthurClemens - 24 Nov 2007

A solution is to retrieve the alt tag from the generated img html and to use that for sorting. When no alt tag is available use the img url.

Implemented like this.

-- TWiki:Main.ArthurClemens - 24 Nov 2007

Excellent idea. Gives the ability to control sorting of icons using the alt string. Brilliant idea.

KJL

ItemTemplate
Summary Table sorting confused when using variables.
ReportedBy DanielKabs
Codebase

SVN Range Wed, 11 Jan 2006 build 8230
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:15747 TWikirev:15777
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r14 - 2008-01-22 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback