Bug 2175571

Summary: [RFE] Sort templates in grid view
Product: Container Native Virtualization (CNV) Reporter: Germano Veit Michel <gveitmic>
Component: User ExperienceAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.12.5CC: gouyang
Target Milestone: ---   
Target Release: 4.13.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-18 02:57:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of the problem none

Description Germano Veit Michel 2023-03-05 23:31:21 UTC
Description of problem:

In my use having the common templates importing just the latest version is not very useful. So I disable enableCommonBootImageImport and have a script that creates  1 template per RHEL released version (i.e. 7.0, 7.1, 7.2...).

With, this in Grid view, its very hard to find the template because there is no ordering by name. I'm attaching a screenshot for you to see how it looks.

They seem to be sorted by OS, but no sorting by name within the same OS.

Version-Release number of selected component (if applicable):
4.12.5

How reproducible:
100%

Steps to Reproduce:
1. Create many templates, then go to create VM from catalog.

Actual results:
* See screenshot

Expected results:
* Ordered by name

Comment 1 Germano Veit Michel 2023-03-05 23:31:57 UTC
Created attachment 1948234 [details]
screenshot of the problem

Comment 2 Hilda Stastna 2023-03-09 13:47:53 UTC
Fixing:
https://github.com/kubevirt-ui/kubevirt-plugin/pull/1126

Comment 3 Guohua Ouyang 2023-03-16 03:56:27 UTC
Now the templates are sorted by the template's name, please note not by the Display name.

Comment 5 errata-xmlrpc 2023-05-18 02:57:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:3205