Skip to content

Commit

Permalink
fix 500 error when attempting to order tags (#8574)
Browse files Browse the repository at this point in the history
* Fix checkbox disappear findings (windows resize)

* fix checkboxes disappear in all project

* fix 500 error when attempting to order tags

* fix flake8 issue

---------

Co-authored-by: Felix Hernandez <[email protected]>
  • Loading branch information
FelixHernandez and felixhernandez15 authored Aug 29, 2023
1 parent 3d7a6d6 commit 5610478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/finding/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def findings(
endpoint = None
if "endpoints" in request.GET:
endpoints = request.GET.getlist("endpoints", [])
if len(endpoints) == 1:
if len(endpoints) == 1 and endpoints[0] != '':
endpoint = endpoints[0]
endpoint = get_object_or_404(Endpoint, id=endpoint)
filter_name = "Vulnerable Endpoints"
Expand Down

0 comments on commit 5610478

Please sign in to comment.