Difference between revisions of "Issue:Using both tablesortcol and columns together resolve out of order"

From FollowTheScore
Jump to: navigation, search
(Reply)
Line 24: Line 24:
  
 
== Reply ==
 
== 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.

Revision as of 11:10, 18 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.