8000 [14.0] web_edit_user_filter: Fix selection of facet by grindtildeath · Pull Request #2644 · OCA/web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[14.0] web_edit_user_filter: Fix selection of facet #2644

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

Conversation

grindtildeath
Copy link
Contributor

When clicking to edit a filter in search view, the _process_filters function will receive the faceID argument as a string, which will be compared to facet.groupId that is an Integer.

Therefore we should use == operator when comparing this value to allow type coercion from JS.

When clicking to edit a filter in search view, the _process_filters
function will receive the faceID argument as a string, which will
be compared to facet.groupId that is an Integer.

Therefore we should use == operator when comparing this value to
allow type coercion from JS.
@grindtildeath
Copy link
Contributor Author
grindtildeath 8000 commented Oct 19, 2023

ping @robyf70 @simahawk

Copy link
Contributor
@robyf70 robyf70 left a comment

Choose a reason for hiding this comment

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

You are right! Sorry for my fault!!!
LGTM

@robyf70
Copy link
Contributor
robyf70 commented Oct 20, 2023

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

Sorry @robyf70 you are not allowed to merge.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@gurneyalex
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 14.0-ocabot-merge-pr-2644-by-gurneyalex-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit cf1921e into OCA:14.0 Oct 23, 2023
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 9621efd. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0