Bug #32389
closedIncorrect search query is formed while selecting location/organization of the host
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1806459
Description of problem:
If you have Organization or Location with 2 or more words like (Default Organization or Default Location). GoTo Hosts -> All Hosts -> Select/Click a host to see details. On the left-hand detail box, click Organization name (Default Organization) or Location name (Default Location).
This will take you to the Hosts -> All Hosts page with search query but the query is incorrect so you will see no hosts.
query formed is as below
~~
organization = Default Organization
~~
Version-Release number of selected component (if applicable):
Foreman 1.24
How reproducible:
Always
Steps to Reproduce:
1. Select the host in "Default Organization"
2. Click the host to see detail page
3. Click on the Default Organization
Actual results:
Wrong search query formed as a result no hosts is shown.
~~
organization = Default Organization
~~
Expected results:
Search query should be
~~
organization = "Default Organization" ----> In Quotes
~~
Additional info:
This works fine in Satellite 6.6
Updated by Adi Abramovitch over 3 years ago
- Subject changed from Incorrect search query is formed while selecting location/organization of the host to Incorrect search query is formed while selecting location/organization of the host
- Assignee set to Adi Abramovitch
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8490 added
Updated by Ewoud Kohl van Wijngaarden over 3 years ago
- Triaged changed from No to Yes
- Found in Releases 1.24.0 added
Introduced in 377ff667bbe3c2df8cd0831d9fe60bb9b316d680.
Updated by Anonymous over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|7fabf78d0f55738ca4a817e0ecaba1189a68fa05.
Updated by The Foreman Bot over 3 years ago
- Pull request https://github.com/theforeman/foreman/pull/8501 added
Updated by The Foreman Bot over 3 years ago
- Pull request https://github.com/theforeman/foreman/pull/8502 added