Sorting views table by a computed field?

mpaler - October 4, 2009 - 02:05
Project:Computed Field
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Is this possible? Has anyone gotten it to work?

Any hinters would be fabulous.

#1

mpaler - October 5, 2009 - 20:37

My bad. In views 2, you have to set a column to be sortable or not in the "Style" settings for the view.

Issue should be closed...

#2

webel - October 28, 2009 - 18:10

6.x-1.0-beta3

I have a stored computed field.

In a View using table style, Sortable is NOT offered under the table settings for the computed field column (yet it is for all other fields).

Glad for advice,

Webel

#3

mpaler - October 28, 2009 - 18:55

In your cck edit form for your field, all the way at the bottom of the form, have you checked "sortable"?

#4

webel - November 2, 2009 - 21:30

Thanks, yes thats all it was. I actually thought of this already myself, for some reason it occurred to me while I was in the bath, the Sortable checkbox just flashed before my eyes. Must be having Drupal dreams.

#5

webel - November 2, 2009 - 21:32
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.