Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix)get_role_id() was returning multiple results #222

Merged
merged 3 commits into from
Jul 5, 2023
Merged

Conversation

Vitor-Avila
Copy link
Contributor

The get_role_id() function was previously configured to use {"_flt_0_name": role_name}. The 0 filter index is used for Starts with, so in case there are more than one DARs starting with the same name from the YAML file, multiple results would be returned.

This PR changes the filter index to 3 which is used for the Equals filter operator. The 3 filter operator was already being used here, so this should be a minor change.

@Vitor-Avila Vitor-Avila added the bug Something isn't working label Jun 22, 2023
Copy link
Member

@betodealmeida betodealmeida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!!

@Vitor-Avila Vitor-Avila merged commit 965060e into main Jul 5, 2023
4 checks passed
@Vitor-Avila Vitor-Avila deleted the dar-search branch July 5, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants