Skip to content

Backend: Add GraphQL search filter and sort by created_at to ciCatalogResources

Summary

The intention in this issue is to add a search filter to the graphQL ciCatalogResources endpoint. This will help provide the ability for users to search for catalog resources by name/description in the CI Catalog.

The ability to query by search term was added in !134517 (diffs), so this issue is just exposing the GraphQl search field.

Additionally, the scope of this issue includes adding the ability to sort by created_at. Ref: #428144 (comment 1611170782).

Proposal

  • Add a search filter to ciCatalogResources which searches through both name and description.
  • Add ability to sort by created_at. Ref: #428144 (comment 1611170782).

MR Implementation

Description MR
Add GraphQL search filter and sort by created_at to ciCatalogResources !134924 (merged)
Edited by Leaminn Ma