Bug 486502

Summary: System search results paying attention to systemID ordering when possible.
Product: [Community] Spacewalk Reporter: John Matthews <jmatthew>
Component: WebUIAssignee: John Matthews <jmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: Jesus M. Rodriguez <jesusr>
Severity: medium Docs Contact:
Priority: low    
Version: 0.4CC: bperkins
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 07:10:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456553    

Description John Matthews 2009-02-20 02:22:48 UTC
Description of problem:

When returning system search results that share a similar score and have identical hostnames, sort them so higher systemIDs are on the bottom.

Comment 2 John Matthews 2009-02-20 04:13:08 UTC
Fix implemented is to perform a sub-sort of results.
Results are first sorted by score.
Highest score is displayed on top.
Next if a series of scores are the same, we sort them on hostname, 
then rank them with highest systemId on top.


Example would be something like
Search for "orangebox"

orangebox <a href=.....id='10010'>
orangebox <a href=.....id='10009'>
orangebox <a href=.....id='10007'>
orngebx   <a href=.....id='10020'>
orngebx   <a href=.....id='10019'>




Addressed with these commits

http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=628aeafda3cd32ef816aaad7e76f734b68eaa5f4

http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=3c22143def764e86dcae010c48e5b3cccc9d9617

Comment 3 Jesus M. Rodriguez 2009-04-14 14:13:11 UTC
Spacewalk 0.5 released.

Comment 4 Miroslav Suchý 2009-09-17 07:10:31 UTC
Spacewalk 0.5 has been released for long time ago.