Skip to content
Snippets Groups Projects
Unverified Commit 9dcc75fe authored by Sandeep Chauhan's avatar Sandeep Chauhan Committed by GitHub
Browse files

Fix search issue on submission list page with none archived value (#3125)

Fixed sentry issue
[3887915131](https://sentry.io/organizations/otf/issues/3887915131/?project=1268368)

#3123 has fixed it only for the users who can't see the archived feature
and that's why we found it working in our testing but for staff admin,
this issue is still there.

The main issue is we have checked for empty and None archived values but
with the search only it passes 'None' as the str type. I fix it by not
passing the archived param to the URL if the archived param's value is
None(not selected yet).
parent 25c67ee8
No related branches found
No related tags found
1 merge request!18Fix application form submit button remaining disabled (#3483)
......@@ -69,7 +69,7 @@
<button class="button button--search" type="submit" aria-label="{% trans 'Search' %}">
<svg class="icon icon--magnifying-glass icon--search"><use xlink:href="#magnifying-glass"></use></svg>
</button>
{% if show_archive %}
{% if show_archive and archived_param is not None %}
<input type="hidden" value="{{ archived_param }}" name="archived">
{% endif %}
{% trans "submissions" as submissions %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment