Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Change the order of Popularity

edited December 2011 in Vanilla 2.0 - 2.8

I do not want to sort according to views.Sort by the number of votes should be.


  • Options

    You can look in the sourcecode where the query is executed. Find the place where the sorting is done and then change to another sorting, like you wish

    There was an error rendering this rich post.

  • Options

    I do not understand. Which will make changes to the php file?

  • Options

    Goto on line 458:
    and change $DiscussionModel->SQL->OrderBy('d.CountViews', 'desc');


      $DiscussionModel->SQL->OrderBy('d.Score', 'desc');
Sign In or Register to comment.