SortBy feature ?

You need to be logged in to post messages in the forums. New users may register here.

Jérôme Vieilledent

Member since:
09 January 2008

Posts: 77

Friday 16 October 2009 8:09:14 am

Hi

Thanks for your cool extension. It would be great to have a sort by rating_average feature for fetch functions :)
Up

Carlos Revillo

Member since:
09 January 2008

Posts: 48

Friday 16 October 2009 2:32:03 pm

hi. this is already done
check http://svn.projects.ez.no/ezstarr...rrating/classes/ezsrratingfilter.php

you can use an extended_attribute_filter for this..
Up

Jérôme Vieilledent

Member since:
09 January 2008

Posts: 77

Sunday 18 October 2009 7:32:56 am

Oh Thanks ! I didn't catch this one :)
Up

André R.

Member since:
14 January 2008

Posts: 145

Friday 22 January 2010 5:45:15 am

You also have a fetch_by_starrating template operator (and fetch_starrating_data + fetch_starrating_stats) that lets you do this with lots of other options as well. For instance combine it with other extended attribute filters like the one in ezgmaplocation.. ;)

Doc is currently inline in ezsrRatingObject::fetchNodeByRating (classes/ezsrratingobject.php)

eZ Online Editor 5.1: http://projects.ez.no/ezoe || eZJSCore 1.1(Ajax): http://projects.ez.no/ezjscore || eZSearch++(better search results): http://projects.ez.no/ezsearchpro
@: http://twitter.com/andrerom

Up

Jérôme Vieilledent

Member since:
09 January 2008

Posts: 77

Friday 22 January 2010 6:39:42 am

Thanks André !
Up

You need to be logged in to post messages in the forums. New users may register here.