Skip to content

Sorting for Alert Management Alerts in GraphQL

Sean Arnold requested to merge 215598-alert-management-graphql-sort-backend into master

What does this MR do?

This adds sorting for the AlertManagement::Alerts via the GraphQL API.

To do this we have added sorting scopes to the model, which call be called through the finder.

The following fields are able to be sorted on:

  • Severity
  • Start time
  • End time
  • Events
  • Status

Also (via the Sortable module):

  • ID
  • Created at
  • Updated at

Does this MR meet the acceptance criteria?

Conformity

Related to #215598 (closed)

Edited by Rémy Coutable

Merge request reports