From 6b24b7416c70b73c5ea4709da96cc63015b267b6 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 25 Jan 2019 15:54:31 -0800 Subject: [PATCH] Modifying search box reapplies download filter, removes cards. Example: If you are using the /pending filter, and use the search box to find some videos and ignore them, then those videos will be removed from the DOM. That way they aren't still there when you clear the text box to see the other pending videos. --- frontends/ycdl_flask/templates/channel.html | 19 +++++++++++++++---- frontends/ycdl_flask/ycdl_flask/ycdl_flask.py | 1 + 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/frontends/ycdl_flask/templates/channel.html b/frontends/ycdl_flask/templates/channel.html index 329fa59..1f59714 100644 --- a/frontends/ycdl_flask/templates/channel.html +++ b/frontends/ycdl_flask/templates/channel.html @@ -88,7 +88,6 @@ Ignored (?q) Downloaded (?q) {% endif %} - {{videos|length}} items
{{videos|length}} items
@@ -147,6 +146,7 @@