aboutsummaryrefslogtreecommitdiff
path: root/templates/partials
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-09-05 02:34:59 -0400
committerBobby <[email protected]>2024-09-05 02:34:59 -0400
commitdf00dbdef3178aeceb2b36debdce851339fa3f91 (patch)
tree4696f6a2f1b853d039776396b37d9b73bb0ace7f /templates/partials
parent87d8d83d247a44d04c6523dfcce25cd3ab6ad0e9 (diff)
downloadyugen-df00dbdef3178aeceb2b36debdce851339fa3f91.tar.xz
yugen-df00dbdef3178aeceb2b36debdce851339fa3f91.zip
fixes to trending
Diffstat (limited to 'templates/partials')
-rw-r--r--templates/partials/navbar.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/partials/navbar.html b/templates/partials/navbar.html
index 71b31b3..342175e 100644
--- a/templates/partials/navbar.html
+++ b/templates/partials/navbar.html
@@ -42,7 +42,7 @@
<!-- Trending icon -->
<a href="{% url "home:search" %}?sort=%5B%22TRENDING_DESC%22%5D" class="flex flex-col gap-2 items-center">
- {% if request.get_full_path == '/search?sort=%5B%22TRENDING_DESC%22%5D' %}
+ {% if 'sort=%5B%22TRENDING_DESC%22%5D' in request.get_full_path or 'sort=[%22TRENDING_DESC%22]' in request.get_full_path %}
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
@@ -293,7 +293,7 @@
<!-- Trending icon -->
<a href="{% url "home:search" %}?sort=%5B%22TRENDING_DESC%22%5D" class="flex flex-col gap-2 items-center">
- {% if request.get_full_path == '/search?sort=%5B%22TRENDING_DESC%22%5D' %}
+ {% if 'sort=%5B%22TRENDING_DESC%22%5D' in request.get_full_path or 'sort=[%22TRENDING_DESC%22]' in request.get_full_path %}
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"