Tomas Jelinek has uploaded a new change for review.

Change subject: added correct instance list query
......................................................................

added correct instance list query

Change-Id: I431b05b67199f8c461a67d3ae82dfc618add39a1
Signed-off-by: Tomas Jelinek <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/InstanceTypeListModel.java
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/45/12445/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/InstanceTypeListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/InstanceTypeListModel.java
index 1b24a47..52f446c 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/InstanceTypeListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/InstanceTypeListModel.java
@@ -43,7 +43,10 @@
     public InstanceTypeListModel() {
         super(ConstantsManager.getInstance().getConstants().templatesTitle());
 
-        setNewInstanceTypeCommand(new UICommand("Template:type = INSTANCE", 
this)); //$NON-NLS-1$
+        setDefaultSearchString("Template:type = INSTANCE"); //$NON-NLS-1$
+        setSearchString(getDefaultSearchString());
+
+        setNewInstanceTypeCommand(new UICommand("newInstanceType", this)); 
//$NON-NLS-1$
     }
 
     @Override


--
To view, visit http://gerrit.ovirt.org/12445
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I431b05b67199f8c461a67d3ae82dfc618add39a1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to