Closed (fixed)
Project:
Views tablesorter
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
31 May 2010 at 14:30 UTC
Updated:
23 Dec 2011 at 01:36 UTC
Currently you can only sort on fields that define themselves as click_sortable.
Because we don't care how fields are stored in or retrieved from the database, but only what data is in the table cells there is no reason why we can't have click sorting on all (or at least most) fields.
Comments
Comment #1
duozerskLike this one! Really, this would allow to create sortables on the fields that are not there in the DB, like the Custom Field (php operating with data from other columns) outputting the numbers or text values.
AndyB
Comment #2
rooby commentedYep, it should be able to sort pretty much anything pretty accurately.
The only ones I can think of off the top of my head that could cause problems are date module fields. Especially those with both to & from dates.
Comment #3
rooby commentedFixed in dev.
http://drupal.org/cvs?commit=402746
If anyone discovers any fields that don't sort as they should please open new issues and they can be fixed.
Comment #5
sergei76 commentedStill doesn't work for me on "customfield php" field. Tried both beta1 and dev versions.
Just no sorting arrows on column headers for calculated fields.
Comment #6
sergei76 commentedComment #7
rooby commentedI haven't actually tried that kind of field. I'll have a look when I get a chance.
I opened a new issue #1208668: Doesn't work for customfield php fields
Comment #8
nicothezulu commentedAny movement on this? Would be good to know more about that.
Comment #9
rooby commentedCheck out the issue linked in #7.
No progress yet but it's finally holiday season so I'll have some free time.
Hopefully a new version of this + a D7 port.