How to Change Order of Search Results in Clip-Bucket >= v2.5
Written by Richi González Monday, 14 May 2012
If you would like to change the order of the results when you search inside Clip-Bucket, keep reading. It’s a very easy task to do, yet very useful.
Difficulty Level: Easy
1. Open search.class.php, located in ./includes/classes/*
2. Let’s say you want to order results by most viewed. Go to line 40, where it says:
var $sort_by = 'date_added';
Change it to:
var $sort_by = 'views';
If you would like to order results by top rated, replace views for ‘rating‘
If you got any problem, please let me know and I’d be happy to assist you.
Owner of Juapo2Services