Skip to content

Migrate deprecated sorting-item vue component in registry_search.vue

What does this MR do and why?

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

It's a part of Pajamas adoption project

Epic: &11924 (closed)

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
package_sorting_old package_sorting_new

How to set up and validate locally

  1. Open some group.
  2. Goto Deploy -> Package Registry
  3. Use sorting component.

Also covered by:

  • spec/features/groups/packages_spec.rb
  • spec/features/projects/packages_spec.rb

Related to #438309 (closed)

Merge request reports