fix reversed sorting
This commit is contained in:
parent
c04e9701ae
commit
b10cdb22d1
|
@ -189,7 +189,7 @@ class index:
|
|||
log.debug('Sorting Failed')
|
||||
|
||||
if vars.order == 'up':
|
||||
torrent_list = reversed(torrent_list)
|
||||
torrent_list = list(reversed(torrent_list))
|
||||
|
||||
setcookie("order", vars.order)
|
||||
setcookie("sort", vars.sort)
|
||||
|
|
|
@ -35,6 +35,7 @@ import lib.webpy022 as web
|
|||
import lib.newforms_plus as forms
|
||||
from render import render
|
||||
from utils import logcall
|
||||
import page_decorators as deco
|
||||
|
||||
from config import register_block as register_config_block
|
||||
from config import unregister_block as unregister_config_block
|
||||
|
|
Loading…
Reference in New Issue