mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-21 21:51:28 +00:00
Default ordering for tags has changed
This commit is contained in:
parent
bdebbcf2b3
commit
859247021a
|
@ -272,9 +272,10 @@ def list_libraries(page=None, page_size=None, q=None, scope='all', pg=None):
|
|||
|
||||
|
||||
@logger.catch
|
||||
def get_tags(q=None, pg=None):
|
||||
def get_tags(q=None, ordering='-creation_date', pg=None):
|
||||
params = {
|
||||
'q': q,
|
||||
'ordering': ordering
|
||||
}
|
||||
if pg:
|
||||
r = current_instance.s.get(pg)
|
||||
|
|
Loading…
Reference in a new issue