Skip to content

Administration panel "Requests" filtering #3242

@yashlamba

Description

@yashlamba

Currently we're using the ?type=... querystring filter, which acts as a postfilter. Because of this the "status" facet is wrongly displaying totals for all requests in the system (communtiy inclusion, memberships, etc.).

There are a couple of ways to solve this:

  1. "Bake" into the q parameter a "hidden" search query that will filter the request type. I.e. `(type:record-deletion) AND (...<user's query>...)
  2. Introduce a new querystring filter param which doesn't just post-filter, e.g. ?type_filter=... or similar.
  3. Create a new REST API endpoint like /api/admin/requests (or similar) which is pre-filtering all request types that we want to handle in the administration panel (see community requests REST API service method)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions