UI: once docker image is used other tags cannot be searched
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1347658
Description of problem:
Once docker image is used other tags cannot be searched at UI.
After container creation of certain image and tag other tags for that image cannot be searched, at that point those other tags are remote and only one tag is local and that only one is shown.
Though I search for the image and select it (to access remote tags), once its name is being filled out into the edit area, the autocomplete prevails and searches only 1 local tag !!!
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create new Docker compute resource (external or internal)
2. Create new Docker container, can be using Docker Hub and and upstream image 'busybox' with 'latest' tag.
3. Repeat Step 2 and try to use another tag this time
3.1. Into Search* field fill in just 'busybo' and search for upstream name to display searched result links
3.2. Click the 'busybox' link as the image is selected the Search field is modified from 'busybo' to 'busybox'
3.3. Even if you search for remote image by clicking the link only 1 local tag is shown and user has to guess other remote tags.
once Search* field is modified from 'busybo' to 'busybox' the autocomplete feature for local tags prevails and only local!!! tags are shown
user is able to search remote tags for specific image only once
(once 1 tag is local, remote tags are not searched)
user is constantly able to search remote tags for specific image
(by adding remote tags field along with local tags field ...whatever)