Bug 486182

Summary: Search, search by system id not returning anything other than exact matches
Product: Red Hat Satellite 5 Reporter: wes hayutin <whayutin>
Component: ServerAssignee: John Matthews <jmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: bperkins, cperry, jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://grandprix.rhndev.redhat.com/rhn/systems/Search.do?Search!.x=15&Search!.y=10&search_string=10000103&whereToSearch=all&view_mode=systemsearch_id
Whiteboard:
Fixed In Version: sat530 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 19:32:01 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: 457073    

Description wes hayutin 2009-02-18 19:18:10 UTC
Description of problem:

Register a few machines to satellite
1. advanced search for "10" which should pick up just about any system...
no results

2. search w/ an exact match like 1000010363
and you get the correct results.

Search by ID should include any results that match the entered numbers..

Comment 1 John Matthews 2009-02-19 00:21:12 UTC
Issue was 'id' was not being tokenized.

Fixed with below commit

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

Comment 2 wes hayutin 2009-02-23 20:24:27 UTC
verified

Comment 9 Brandon Perkins 2009-09-10 19:32:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1434.html