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."

CommentFileSizeAuthor
#2 duration-494612.patch733 bytesreubenavery
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mr.andrey’s picture

subscribing...

reubenavery’s picture

FileSize
733 bytes

Hi all,

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

reubenavery’s picture

Status: Active » Needs review
tribe_of_dan’s picture

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

keinstein’s picture

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

Kanwal-1’s picture

Priority: Normal » Critical

This patch is not working.

Any other solution please?

Thanks
Kanwal