From 859247021a22c466e1cbd4b3259a58310ec9576e Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Sat, 17 Jun 2023 23:44:32 +0300 Subject: [PATCH] Default ordering for tags has changed --- src/fw_api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fw_api.py b/src/fw_api.py index ab94f21..98038ed 100644 --- a/src/fw_api.py +++ b/src/fw_api.py @@ -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)