Skip to content

[API] Set up "Dynamic" Search for api/v1/resources/ #22

Closed
@BethanyG

Description

@BethanyG

Currently, api/v1/resources/ uses filters.SearchFilter as its filter_backend. This particular filter does a search on all fields for the requested parameters, which is not granular enough for our search needs.

As in this article: https://medium.com/better-programming/how-to-make-search-fields-dynamic-in-django-rest-framework-72922bfa1543? we need to make this api endpoint more dynamically searchable by implementing a custom filter_backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions