Pligg Support

Would it be possible to sort "search results" according to the number of votes, or according to the number of comments?

Possible Answers

    Yes, in index.php find the line that has

    orderBy = "link_published_date DESC, link_date DESC"

    and replace that part with

    orderBy = "link_votes DESC, link_date DESC"

    That's for the posts on the index page. You can do the same in other search resutls by adding the orderBy variable and edit its arguments to your liking.

    | Posted 50 days ago | Permalink | Hide Replies

Who Upvoted this Story