From d0e803aa661620e322958a508c9be6842012e271 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 5 Sep 2020 17:48:29 -0700 Subject: [PATCH] Supply the orderby argument to channel.html template. --- frontends/ycdl_flask/backend/endpoints/channel_endpoints.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frontends/ycdl_flask/backend/endpoints/channel_endpoints.py b/frontends/ycdl_flask/backend/endpoints/channel_endpoints.py index 4b5ebc5..b21e2f8 100644 --- a/frontends/ycdl_flask/backend/endpoints/channel_endpoints.py +++ b/frontends/ycdl_flask/backend/endpoints/channel_endpoints.py @@ -73,6 +73,7 @@ def get_channel(channel_id=None, state=None): all_states=all_states, channel=channel, state=state, + orderby=orderby, query_string='?' + request.query_string.decode('utf-8'), videos=videos, )