diff options
| author | Bobby <[email protected]> | 2024-09-05 02:34:59 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-09-05 02:34:59 -0400 |
| commit | df00dbdef3178aeceb2b36debdce851339fa3f91 (patch) | |
| tree | 4696f6a2f1b853d039776396b37d9b73bb0ace7f /templates/partials | |
| parent | 87d8d83d247a44d04c6523dfcce25cd3ab6ad0e9 (diff) | |
| download | yugen-df00dbdef3178aeceb2b36debdce851339fa3f91.tar.xz yugen-df00dbdef3178aeceb2b36debdce851339fa3f91.zip | |
fixes to trending
Diffstat (limited to 'templates/partials')
| -rw-r--r-- | templates/partials/navbar.html | 4 |
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" |
