Skip to content

Migrate `sorting-item-vue-component` in `catalog_search.vue`

Taras Tadai requested to merge 437126-migrate-deprecated-sort-item-vue into master

What does this MR do and why?

Removed gl-sorting-item in app/assets/javascripts/ci/catalog/components/list/catalog_search.vue as it's deprecated. New way to use it is to pass :sort-options=.

It's a part of Pajamas adoption project

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
ci-cd-catalog-sorting-old ci-cd-catalog-sorting-new

How to set up and validate locally

  1. Navigate to CI/CD catalog: Search or go to -> Explore -> CI/CD Catalog
  2. Verify sorting component(see screenshots)

See CI/CD components docs on how to add items to this catalog.

Covered by spec/features/explore/catalog/catalog_spec.rb

Related to #437126 (closed)

Merge request reports

Loading