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
Filtering history with ?collection_id=0 returns an empty list #851
Comments
This may not only be related to history entries. If we create the collections with ids 0, 1 and string, the behavior is different when selecting via the id parameter.
|
Nice catch @gabisurita ! The problem comes indeed that we interpolate the field value as a native python value (which is integer) and then compare it with a string (id). I remember also that we don't want to compare with string if the store value is an integer. The fix might not be so easy actually, since we don't always have the schema of the data. We could maybe filter with something like |
Fix filtering with numeric id (fixes #851)
Fix filtering with numeric id (fixes #851)
0
?collection_id=0
The text was updated successfully, but these errors were encountered: