Tomas Jelinek has submitted this change and it was merged. Change subject: core: added filtering to ensure only the templates return ......................................................................
core: added filtering to ensure only the templates return If the search type in search query was "VmTemplate" it anyway returned all the content of the vm_templastes_view which is a union of instance types, images and templates. Fixed by adding the filtering to the SearchQuery directly and not the DB level because the vm_templates_view is used in a way that it expects that all three types are present in it. Change-Id: Id2b8366f9099fd4461ae7f876fda782e0c8568ab Signed-off-by: Tomas Jelinek <tjeli...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SearchQuery.java 1 file changed, 16 insertions(+), 1 deletion(-) Approvals: Tomas Jelinek: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/24731 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id2b8366f9099fd4461ae7f876fda782e0c8568ab Gerrit-PatchSet: 16 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tomas Jelinek <tjeli...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Tomas Jelinek <tjeli...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches