Bug 2175571 - [RFE] Sort templates in grid view
Summary: [RFE] Sort templates in grid view
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.12.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.13.0
Assignee: Hilda Stastna
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-05 23:31 UTC by Germano Veit Michel
Modified: 2023-05-18 02:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-18 02:57:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of the problem (642.42 KB, image/png)
2023-03-05 23:31 UTC, Germano Veit Michel
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-26477 0 None None None 2023-03-05 23:32:24 UTC
Red Hat Product Errata RHSA-2023:3205 0 None None None 2023-05-18 02:58:12 UTC

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


Note You need to log in before you can comment on or make changes to this bug.