Skip to content

in version 3.0 _s_count function does not apply filters to query #146

@lapierreni

Description

@lapierreni

Just a heads up, it looks like the _s_count function doesnt add filters to the count cls.query.count() call. I fixed this locally in our code by overriding the function with:
count = cls.jsonapi_filter().count()

Simple PR to add this: #147

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions