Difference between revisions of "Issue:Using both tablesortcol and columns together resolve out of order"
From FollowTheScore
(→Reply) |
(→Reply) |
||
Line 28: | Line 28: | ||
: Well darn. Any other odd creative suggestions? Any way to do first half/last half tables? | : Well darn. Any other odd creative suggestions? Any way to do first half/last half tables? | ||
+ | |||
+ | ::There are lots of ways for delivering table content page wise, see [[Scrolling]] and the exmaples provided there. [[User:Gero|Gero]] 07:51, 19 December 2010 (UTC) |
Latest revision as of 09:51, 19 December 2010
Description: | Using both tablesortcol and columns together resolve out of order |
Extension / Version: | DPL / 1.8.9 |
Type / Status: | Bug / open |
Problem
Using code similar to this:
{{#dpl: | tablesortcol = 1 | category = Sample | table = class="datatable-action",-,#,Name | include = {Template}:Number:Name | columns = 3 }}
It appears that the data is returned, split into three columns THEN sorted by column 1. I would expect the data to be sorted first, then split into three columns. Otherwise, the data is unreliable.
Reply
Indeed, Tablesort_and_columns shows the effect: Splitting happens first. I am afraid this will be very hard to change so I suggest that you do not use those two options in combination.
- Well darn. Any other odd creative suggestions? Any way to do first half/last half tables?