Oved Ourfali has uploaded a new change for review.

Change subject: core: compatibility version support on DC search
......................................................................

core: compatibility version support on DC search

Added compatibility_version support on DC search TAB.

Change-Id: Ia5d9f18545483ec51c360b78cdd4de220f7d35c5
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1124375
Signed-off-by: Eli Mesika <emes...@redhat.com>
(cherry picked from commit c39f6bce43aafa5d3f05d539629f744bb7d2a60f)
---
M 
backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/StoragePoolFieldAutoCompleter.java
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/89/30989/1

diff --git 
a/backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/StoragePoolFieldAutoCompleter.java
 
b/backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/StoragePoolFieldAutoCompleter.java
index fe25b4f..84cfeab 100644
--- 
a/backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/StoragePoolFieldAutoCompleter.java
+++ 
b/backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/StoragePoolFieldAutoCompleter.java
@@ -9,6 +9,7 @@
     public static final String LOCAL = "LOCAL";
     public static final String STATUS = "STATUS";
     public static final String COMMENT = "COMMENT";
+    public static final String COMPATIBILITY_VERSION = "COMPATIBILITY_VERSION";
 
     public StoragePoolFieldAutoCompleter() {
         // Building the basic vervs Dict
@@ -17,6 +18,7 @@
         mVerbs.add(LOCAL);
         mVerbs.add(STATUS);
         mVerbs.add(COMMENT);
+        mVerbs.add(COMPATIBILITY_VERSION);
 
         // Building the autoCompletion Dict
         buildCompletions();
@@ -26,6 +28,7 @@
         getTypeDictionary().put(COMMENT, String.class);
         getTypeDictionary().put(LOCAL, Boolean.class);
         getTypeDictionary().put(STATUS, StoragePoolStatus.class);
+        getTypeDictionary().put(COMPATIBILITY_VERSION, String.class);
 
         // building the ColumnName Dict
         columnNameDict.put(NAME, "name");
@@ -33,6 +36,7 @@
         columnNameDict.put(COMMENT, "free_text_comment");
         columnNameDict.put(LOCAL, "is_local");
         columnNameDict.put(STATUS, "status");
+        columnNameDict.put(COMPATIBILITY_VERSION, "compatibility_version");
 
         // Building the validation dict
         buildBasicValidationTable();


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5d9f18545483ec51c360b78cdd4de220f7d35c5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to