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 stopped looking like this: "►◄" and started looking like this: "
▲
▼
".▼
(On December 8th 2011).
.
at bugzilla: https://bugzilla.wikimedia.org/show_bug.cgi?id=32888
Works as expected
editEmbedded table has 5 columns:
h1 | h2 | h3 | h4 | h5
| |||||
---|---|---|---|---|---|---|---|---|---|
Doesn't work
editEmbedded table has 6 columns:
h1 | h2 | h3 | h4 | h5
| ||||||
---|---|---|---|---|---|---|---|---|---|---|
Diagnosis improved
editIt would seem that as long as the "enveloping" table doesn't have LESS columns, their sortability preoprty remains in tact; here the above table with an additional column in the main table:
h1 | h2 | h3 | h4 | h5 | h6
| ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
and here the first table with one column LESS in the main table:
h1 | h2 | h3 | h4
| |||||
---|---|---|---|---|---|---|---|---|