Skip to content

Commit

Permalink
add distinct to remove duplicate results (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
raylrui authored Nov 20, 2024
1 parent b1ad291 commit 6c88075
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def exclude_params(params):
Q(libraries__library_id__icontains=search_params) |
Q(libraries__orcabus_id__icontains=search_params) |
Q(workflow__workflow_name__icontains=search_params)
)
).distinct() # Add distinct to remove duplicates

return result_set

Expand Down

0 comments on commit 6c88075

Please sign in to comment.