Fixed : Default Sorting Mode is Most_recent
This commit is contained in:
parent
a59fb15b8d
commit
b306f9df56
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,11 @@ $Cbucket->links = array
|
|||
*/
|
||||
function sorting_links()
|
||||
{
|
||||
if(!isset($_GET['sort']))
|
||||
$_GET['sort'] = 'most_recent';
|
||||
if(!isset($_GET['time']))
|
||||
$_GET['time'] = 'all_time';
|
||||
|
||||
$array = array
|
||||
('most_recent' => lang('recent'),
|
||||
'most_viewed' => lang('viewed'),
|
||||
|
|
Loading…
Add table
Reference in a new issue