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

feat: Allow more field types in group by fields #9767

Merged
merged 5 commits into from
Mar 24, 2020

Conversation

prssanna
Copy link
Contributor

port-of: #9761

prssanna and others added 3 commits March 23, 2020 21:31
instanceof fails to check for string, instead classifying the
$target.data('value') as instanceof Object; which causes the ternary
check to fail and pass filter without decodeURIComponent(), causing
filter to be applied like: email%40example.com instead of
email@example.com

we can instead just use typeof to check whether the passed value is a
string

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
Copy link
Member

@surajshetty3416 surajshetty3416 left a comment

Choose a reason for hiding this comment

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

Screenshot 2020-03-24 at 12 45 14 PM

@prssanna Can we set Yes/No for the group of Check fieldtype like we have in list view filter?

Screenshot 2020-03-24 at 12 47 09 PM

@prssanna
Copy link
Contributor Author

@surajshetty3416:
Screenshot 2020-03-24 at 1 34 44 PM

@surajshetty3416 surajshetty3416 changed the title refactor: Allow more field types in group by fields feat: Allow more field types in group by fields Mar 24, 2020
Copy link
Member

@surajshetty3416 surajshetty3416 left a comment

Choose a reason for hiding this comment

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

@prssanna Frontport the changes to develop as well

@mergify mergify bot merged commit 7674595 into frappe:version-12-hotfix Mar 24, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants