Download & Extend

CCK Duration field not sortable in views

Project:Duration
Version:6.x-1.0-rc2
Component:Code
Category:feature request
Priority:critical
Assigned:Unassigned
Status:needs review

Issue Summary

The CCK duration field appears to lack some Views support. It can be added as a field to Views but is not available in Views 'Sort Criteria'.

The original developer notes that "the database table does include the necessary information ("approx_seconds"
column), but if there's no sortable field then I guess I just haven't worked on Views support."

Comments

#1

subscribing...

#2

Hi all,

Here's a patch for duration.module that adds sorting to Views 2

AttachmentSize
duration-494612.patch 733 bytes

#3

Status:active» needs review

#4

This might be your answer: http://drewish.com/node/127

#5

@tribe_of_dan: The answer #2 seems to be much better.

#6

Priority:normal» critical

This patch is not working.

Any other solution please?

Thanks
Kanwal

nobody click here