Difference between revisions of "Issue:Tablesortcol, same value in two or more rows, wrong data"

From FollowTheScore
Jump to: navigation, search
Line 8: Line 8:
  
 
== Problem ==
 
== Problem ==
There is something strange (or is it an expected behaviour?) when the column specificated by ''tablesortcol'' parameter contains the same value in different cells: only one row is displayed for each value, but the ''PAGES'' magic word returns the sum of all pages selected. You can see some examples at, where also the ''distinct'' parameter is tested:
+
There is something strange (or is it an expected behaviour?) when the column specificated by ''tablesortcol'' parameter contains the same value in different cells: only one row is displayed for each value, but the ''PAGES'' magic word returns the sum of all pages selected. You can see some examples at [http://www.usnb.it/wiki/index.php?title=Test:DPLSort] , where also the ''distinct'' parameter is tested.
[http://www.usnb.it/wiki/index.php?title=Test:DPLSort]
 
 
It seems a bug, but probably this can be related to my low experience in DPL...
 
It seems a bug, but probably this can be related to my low experience in DPL...
  
 
== Reply ==
 
== Reply ==

Revision as of 21:52, 13 October 2008

Description: using tablesortcol when there is same value in several rows results in discarded rows
Extension / Version: DPL   /   1.7.4
Type / Status: Bug   /   open

Problem

There is something strange (or is it an expected behaviour?) when the column specificated by tablesortcol parameter contains the same value in different cells: only one row is displayed for each value, but the PAGES magic word returns the sum of all pages selected. You can see some examples at [1] , where also the distinct parameter is tested. It seems a bug, but probably this can be related to my low experience in DPL...

Reply