Skip to content

Commit

Permalink
fix missing legacy role import filters (#1976)
Browse files Browse the repository at this point in the history
No-Issue
  • Loading branch information
jerabekjiri authored Nov 15, 2023
1 parent e4cbdb3 commit 37a225e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions galaxy_ng/app/api/v1/filtersets.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ class LegacyRoleImportFilter(filterset.FilterSet):
role_name = filters.NumberFilter(field_name='role__name')
namespace_id = filters.NumberFilter(field_name='role__namespace_id')
namespace_name = filters.NumberFilter(field_name='role__namespace_name')
github_user = filters.CharFilter(method='github_user_filter')
github_repo = filters.CharFilter(method='github_repo_filter')
github_user = filters.CharFilter(field_name='task__kwargs__github_user')
github_repo = filters.CharFilter(field_name='task__kwargs__github_repo')
state = filters.CharFilter(method='state_filter')

class Meta:
Expand Down

0 comments on commit 37a225e

Please sign in to comment.