Closed (fixed)
Project:
Views tablesorter
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2010 at 14:16 UTC
Updated:
6 Oct 2010 at 13:30 UTC
I made one field sortable (the last one), and it did not work.
There was an excluded field (excluded from display) before the last field. When i replaced the two fields, it started to work, it seems the module should check for Exclude from display setting somewhere and respect it.
Comments
Comment #1
rooby commentedThanks for catching that one.
Previously, the sort arrays in the format that the tablesorter plugin expects were built when saving the style settings form.
Now they are built when the view is displayed, which covers fields that were marked excluded since you last saved the style settings.
In addition, excluded fields will no longer display on the style settings form.
Fixed.
http://drupal.org/cvs?commit=424406
A new release will come in a day or two.
Comment #2
rooby commentedRe #1:
This was a bad idea that caused other bugs. I have changed it back so all fields display on the style settings form.
http://drupal.org/cvs?commit=424824
Comment #3
rooby commentedAnd another one :(
The templates $col_count variable was being incorrectly calculated when excluded fields were involved.
Now fixed also.
http://drupal.org/cvs?commit=425930