Added a sort for trending posts

This commit is contained in:
tdgmdev 2023-03-08 18:56:28 -05:00
parent 2bb1c9725d
commit e2a3f560c1
3 changed files with 15 additions and 8 deletions

View file

@ -4,7 +4,7 @@ export async function load({ fetch, params, url }) {
var id = search.get('page') * 1;
var sort = search.get('sort') || 'rating';
var sort = search.get('sort') || 'hot';
var type = search.get('type') || 'all';