I had some trouble with a 3 columns sort (Category / Last Name / First Name) and eventually found a problem with the indices:

--- webform_report.inc.orig     2010-10-25 16:29:25.000000000 +0200
+++ webform_report.inc  2010-10-25 16:45:01.000000000 +0200
@@ -701,7 +701,7 @@
         $code = '';
         for ($i=0; $i<count($a); $i++) {
           if ($i < count($a) - 1) {
-            $code .= 'if (($tmp = ' . $a[0] . ') == 0) { ';
+            $code .= 'if (($tmp = ' . $a[$i] . ') == 0) { ';
           }
           else {
             $code .= '$tmp = ' . $a[$i] . '; ';

Seems to work now...

CommentFileSizeAuthor
#1 952128.patch717 bytesjimbullington

Comments

jimbullington’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new717 bytes

Thanks for tracking that down - I will include this patch in the next release.

jimbullington’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.