Author: athenurlauber
Description:
When a table is embedded into the header of a sortable table, and the embedded table has more than five columns, then the main table's headers' sortability attribute is disabled.
If the embedded table's cells are defined as headers, then the sortability attribute is additonally applied to these cells.
I suspect this bug was introduced at the same time the sorting button's appearance was changed to its current "split diamond" design.
An example can be seen here:
http://en.wikipedia.org/wiki/User:Dan_Pelleg/Sandbox/Sortability_bug
This table works as expected, with a 5-columnn table embedded in a header:
{|class="wikitable sortable" width=100%
!h1h2h3h4h5
{|align=center
!s1s2s3
s4 | s5+s6 | |||||||
} | ||||||||
- | ||||||||
} | ||||||||
This table doesn't work, with a 6-columnn table embedded in a header:
{|class="wikitable sortable" width=100%
!h1h2h3h4h5
{|align=center
!s1s2s3
s4 | s5 | s6 | ||||||
} | ||||||||
- | ||||||||
} | ||||||||
http://en.wikipedia.org/wiki/User:Dan_Pelleg/Sandbox/Sortability_bug
Version: unspecified
Severity: normal