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.
Definitions:
- Set WORKING =
- Set DONE =
- Set NOTSTARTED =
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