From 1121d8c9fd5d663b62d0bd9a040373fce0d5c983 Mon Sep 17 00:00:00 2001 From: Boris Date: Sat, 25 Sep 2021 15:08:10 +0200 Subject: [PATCH] [ENH] Change tag filtering behavior --- www/boris/youtube.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/www/boris/youtube.php b/www/boris/youtube.php index 387a89e..d6124c6 100644 --- a/www/boris/youtube.php +++ b/www/boris/youtube.php @@ -193,7 +193,7 @@ echo ' '; -if (!empty($tagFilter)) { +// if (!empty($tagFilter)) { echo ' '; -} +// } +/* echo ' +'; +*/ + +echo ' '; @@ -324,6 +328,8 @@ foreach ($videosList as $video) { $tagQueryArray = array_diff($tagFilter, $tagArray); } + $tagQueryArray = $tagArray; + $classes = $selectedTag ? ' selected' : 'selectable'; if (!empty($tagQueryArray)) {