|
I would like to add custom sort by favorites (number of times a question is added to favorites). How can that be done? |
|
If you would like to create your own sort processors you'll probably have to take a look at the forum.views.readers.QuestionListPaginatorContext and pagination.SimpleSort classes. A good example that can be used while you're creating the Custom Sort class is forum.views.readers.HottestQuestionsSort and specifically the apply method. After you create the custom Sort class you'll have to extend the That's it in general. Good luck! Thank you.
(28 Mar '11, 05:35)
Stanislav
|