Vered Volansky has uploaded a new change for review. Change subject: core: removed disks:format from search(bug 859041) ......................................................................
core: removed disks:format from search(bug 859041) There's no indication to COW or RAW in the UI. Hence removed from search. Change-Id: Icb5e02d0d48f4b348a6f14946271a9cbcda16f21 Bug-Url: https://bugzilla.redhat.com/859041 Signed-off-by: Vered Volansky <vvola...@redhat.com> --- M backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/DiskConditionFieldAutoCompleter.java 1 file changed, 1 insertion(+), 7 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/30/8430/1 diff --git a/backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/DiskConditionFieldAutoCompleter.java b/backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/DiskConditionFieldAutoCompleter.java index 01eb61f..ab5bd5b 100644 --- a/backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/DiskConditionFieldAutoCompleter.java +++ b/backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/DiskConditionFieldAutoCompleter.java @@ -4,7 +4,6 @@ import org.ovirt.engine.core.common.businessentities.Disk.DiskStorageType; import org.ovirt.engine.core.common.businessentities.ImageStatus; -import org.ovirt.engine.core.common.businessentities.VolumeFormat; import org.ovirt.engine.core.compat.RefObject; import org.ovirt.engine.core.compat.StringFormat; import org.ovirt.engine.core.compat.StringHelper; @@ -20,7 +19,6 @@ mVerbs.put("CREATION_DATE", "CREATION_DATE"); mVerbs.put("BOOTABLE", "BOOTABLE"); mVerbs.put("SHAREABLE", "SHAREABLE"); - mVerbs.put("FORMAT", "FORMAT"); mVerbs.put("STATUS", "STATUS"); mVerbs.put("DISK_TYPE", "DISK_TYPE"); mVerbs.put("NUMBER_OF_VMS", "NUMBER_OF_VMS"); @@ -39,7 +37,6 @@ getTypeDictionary().put("CREATION_DATE", Date.class); getTypeDictionary().put("BOOTABLE", Boolean.class); getTypeDictionary().put("SHAREABLE", Boolean.class); - getTypeDictionary().put("FORMAT", VolumeFormat.class); getTypeDictionary().put("STATUS", ImageStatus.class); getTypeDictionary().put("DISK_TYPE", DiskStorageType.class); getTypeDictionary().put("NUMBER_OF_VMS", Integer.class); @@ -56,7 +53,6 @@ mColumnNameDict.put("CREATION_DATE", "creation_date"); mColumnNameDict.put("BOOTABLE", "boot"); mColumnNameDict.put("SHAREABLE", "shareable"); - mColumnNameDict.put("FORMAT", "volume_format"); mColumnNameDict.put("STATUS", "imageStatus"); mColumnNameDict.put("DISK_TYPE", "disk_storage_type"); mColumnNameDict.put("NUMBER_OF_VMS", "number_of_vms"); @@ -83,9 +79,7 @@ @Override public IConditionValueAutoCompleter getFieldValueAutoCompleter(String fieldName) { - if ("FORMAT".equals(fieldName)) { - return new EnumValueAutoCompleter(VolumeFormat.class); - } else if ("STATUS".equals(fieldName)) { + if ("STATUS".equals(fieldName)) { return new EnumValueAutoCompleter(ImageStatus.class); } else if ("DISK_TYPE".equals(fieldName)) { return new EnumValueAutoCompleter(DiskStorageType.class); -- To view, visit http://gerrit.ovirt.org/8430 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icb5e02d0d48f4b348a6f14946271a9cbcda16f21 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Vered Volansky <vvola...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches