Red Hat Bugzilla – Bug 601653
Suggestion is not properly replaced when a search token has a space in value.
Last modified: 2015-02-01 18:26:19 EST
Description of problem:
When a search expression is entered in searchbar which has a space in value (Ex: type="Apache HTTP Server") and user places cursor in searchbar after the text type="Apache and before the text HTTP Server", it displays suggestions like type="Apache HTTP Server" and type="Apache Virtual Host".
when user selects a suggestion type="Apache Virtual Host", it is not properly replaced. The searchbar displays expression as : type="Apache Virtual Host" HTTP Server".
Please refer the attached screenshot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Login to jon.
2. Navigate to 'Resources->All Resources'.
3. Enter in searchbar: type="Apache HTTP Server" and press enter.
4. Place the cursor after the text 'Apache' and before 'http' in search expression.
5. Select the suggestion: type="Apache Virtual Host".
Searchbar shows the expression: type="Apache Virtual Host" HTTP Server".
Searchbar should replace the token and should display: type="Apache Virtual Host".
Created attachment 422159 [details]
search bar has had many fixes