https://bugzilla.wikimedia.org/show_bug.cgi?id=40618
Web browser: ---
Bug #: 40618
Summary: sorting table with one (first) column unsorted
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: JavaScript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Created attachment 11148
--> https://bugzilla.wikimedia.org/attachment.cgi?id=11148
print screens of this table: unsorted and sorted by 2nd and 3rd column
I tables where we enumerate sth we usually add first column with ordering
numbers. Of course we set it as unsortable – BUT it doesn't prevent the column
from being sorted while we sort another column. Then ordering numbers get all
messed up.
There shouls be an additional parameter (class or sth) for setting which column
should not be sorted.
(I cannot think of anything more in that column than ordering numbers…)
Simple example below (and here
http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Kaligula/brudnopis&oldid=32972991
).
{| class="wikitable sortable" style="text-align:center;" align="left"
!class="unsortable"|№
!color
!name
!city
|-
|1||white||John||New York
|-
|2||green||Alice||Warsaw
|-
|3||black||Mark||Rennes
|}
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l