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 alphabet filter #1942

Merged
merged 9 commits into from
Jul 30, 2024
Merged

fix alphabet filter #1942

merged 9 commits into from
Jul 30, 2024

Conversation

actlikewill
Copy link
Contributor

The typed multiple choice field returns a list.

@actlikewill
Copy link
Contributor Author

actlikewill commented Jul 29, 2024

@longhotsummer I'm now thinkinig that the main reason we had that bug was because we were using the params directly without cleaning, so using the cleaned_data fixed the original bug, CharField cleans the nulls

longhotsummer
longhotsummer previously approved these changes Jul 29, 2024
longhotsummer
longhotsummer previously approved these changes Jul 29, 2024
@longhotsummer
Copy link
Contributor

Please sanity check this works for alphabet=%00

@actlikewill
Copy link
Contributor Author

Please sanity check this works for alphabet=%00

it works okay. the CharField cleans up the nulls

@actlikewill actlikewill marked this pull request as ready for review July 30, 2024 07:00
@actlikewill actlikewill merged commit c00fea7 into main Jul 30, 2024
9 checks passed
@actlikewill actlikewill deleted the fix-alpha branch July 30, 2024 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants