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

fixed broken list filters in bookmarks #803

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

LeXofLeviafan
Copy link
Collaborator

…turns out they were broken (e.g. picking "index > in list" causes HTTP 500) 😅

@@ -188,7 +188,7 @@ def __init__(
super().__init__(name, options, data_type)

def clean(self, value):
on_list = self.filter_type in (FilterType.IN_LIST, FilterType.NOT_IN_LIST)
on_list = _key(self.operation_text) in ('in list', 'not in list')
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

self.filter_type is always None (at least on Bookmarks page)

@jarun jarun merged commit 863e61d into jarun:master Jan 2, 2025
1 check passed
@jarun
Copy link
Owner

jarun commented Jan 2, 2025

Thank you!

@LeXofLeviafan LeXofLeviafan deleted the fix-list-filters branch January 2, 2025 12:57
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