Bug 590413 - OVIRT35 - [RFE] Admin GUI: Sort by 'IP address' (in VM tab) should not treat the IP address as a string
Summary: OVIRT35 - [RFE] Admin GUI: Sort by 'IP address' (in VM tab) should not treat ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: unspecified
Hardware: All
OS: Windows
low
medium
Target Milestone: ---
: 3.5.0
Assignee: Lior Vernia
QA Contact:
URL:
Whiteboard: network
Depends On: 893999
Blocks: 1114242 1114244
TreeView+ depends on / blocked
 
Reported: 2010-05-09 13:01 UTC by Yaniv Kaul
Modified: 2016-02-10 19:38 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
: 1114242 1114244 (view as bug list)
Environment:
Last Closed: 2014-10-17 12:31:59 UTC
oVirt Team: Network
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 28272 0 None None None Never

Description Yaniv Kaul 2010-05-09 13:01:08 UTC
Description of problem:
If I click on the VMs tab on the 'IP address' header, the sort is done as if it was a text field:
10.35.113.9
10.35.113.30
10.35.113.3
10.35.113.16

where one would expect the order to be:
10.35.113.30
10.35.113.16
10.35.113.9
10.35.113.3


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

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Yaniv Kaul 2010-05-09 14:06:14 UTC
I thought it was a bug.
And Max reminded me that also the name sort is not done quite correctly. It should be done in 'natural' order (http://www.codinghorror.com/blog/2007/12/sorting-for-humans-natural-sort-order.html)

Comment 2 Itamar Heim 2012-01-05 10:54:21 UTC
not sure if this should be fixed at UI level or search sort level

Comment 3 Lior Vernia 2012-12-30 13:13:24 UTC
As far as I can see, the IP header is not clickable (anymore?) so the bug is irrelevant (or maybe just obsolete). Yaniv?

Comment 4 Yaniv Kaul 2012-12-30 13:46:31 UTC
(In reply to comment #3)
> As far as I can see, the IP header is not clickable (anymore?) so the bug is
> irrelevant (or maybe just obsolete). Yaniv?

There should be a bug that in the move from the old UI to the old one we've lost all sorting per headers :(
Einav?

Comment 5 Einav Cohen 2013-01-10 13:56:49 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > As far as I can see, the IP header is not clickable (anymore?) so the bug is
> > irrelevant (or maybe just obsolete). Yaniv?
> 
> There should be a bug that in the move from the old UI to the old one we've
> lost all sorting per headers :(
> Einav?

That's right - when solving bug 893999, need to keep this bug in mind -> putting bug 893999 as a blocker to this one.

Comment 6 Einav Cohen 2013-01-10 14:47:14 UTC
(In reply to comment #2)
> not sure if this should be fixed at UI level or search sort level

as long as the UI sort and the backend sort are not "connected" - it should be fixed in both (assuming the search-language allows sorting according to ip-address), in order to prevent inconsistent behavior.

worth considering consolidating the two, maybe in the context of blocking bug 893999.

Comment 7 Sven Kieske 2014-04-25 15:04:00 UTC
I'm not sure this one should be closed yet?

Comment 8 Lior Vernia 2014-04-27 07:05:17 UTC
Well, it's basically fixed. The bug blocking this is about to be fixed, while the backend sorting by IP had been fixed as part of Bug 895468. So whenever the blocker bug is fixed, this could be moved to ON_QA for verification, or alternatively forgotten :)

Comment 9 Lior Vernia 2014-05-28 13:15:57 UTC
Sven, I was actually too quick to respond, you're right and this should be reopened - there's still a little wiring missing for this to work by clicking on the column header.

Comment 10 Sandro Bonazzola 2014-10-17 12:31:59 UTC
oVirt 3.5 has been released and should include the fix for this issue.

Comment 11 David 2015-03-06 11:24:47 UTC
Hi, sorry if this is not the place.

But in oVirt 3.5.1.1-1.fc20 when you click in the header "IP Address" the small arrow changes direction, but the rows aren't sorted, and if you try to refresh the webpage or you change to another category and then return to the vms view, there is no information (rows), only 3 square dots in a loop. 

Could possibly it be related to this bug?

Comment 12 Sven Kieske 2015-03-06 12:28:17 UTC
@Nir: How did you verify this works?

based on Comment 11 there still seems to be a bug?

Was Liors missing "wiring" from comment 9 fixed?

Comment 13 Lior Vernia 2015-03-08 08:13:58 UTC
No, feature was completely implemented but there's a regression in 3.5, see Bug 1164235 (due to another bug fix...).


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