Alexander Wels has uploaded a new change for review.

Change subject: webadmin: save search query
......................................................................

webadmin: save search query

- Use the current search query when switching to a main tab from
  another main tab. Before it would use the default search query
  instead of the current used one. When selecting items in the
  system tree it will reset the current query to the default.

Change-Id: I9f72f406e467ba90ad6800429492427c3f14a6a3
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1172389
Signed-off-by: Alexander Wels <aw...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/CommonModel.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/73/36073/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/CommonModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/CommonModel.java
index d4f289e..5941826 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/CommonModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/CommonModel.java
@@ -612,7 +612,7 @@
             String search = ""; //$NON-NLS-1$
             RefObject<String> tempRef_prefix = new RefObject<String>(prefix);
             RefObject<String> tempRef_search = new RefObject<String>(search);
-            splitSearchString(getSelectedItem().getDefaultSearchString(), 
tempRef_prefix, tempRef_search);
+            splitSearchString(getSelectedItem().getSearchString(), 
tempRef_prefix, tempRef_search);
             prefix = tempRef_prefix.argvalue;
             search = tempRef_search.argvalue;
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f72f406e467ba90ad6800429492427c3f14a6a3
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <aw...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to