mirror of https://github.com/apache/cloudstack.git
bug 13712: do not download removed template
status 12712: resolved fixed reviewed-by: edison
This commit is contained in:
parent
46d209a3fb
commit
b6bc39bea8
|
|
@ -277,6 +277,7 @@ public class VMTemplateDaoImpl extends GenericDaoBase<VMTemplateVO, Long> implem
|
|||
|
||||
|
||||
tmpltTypeSearch = createSearchBuilder();
|
||||
tmpltTypeSearch.and("removed", tmpltTypeSearch.entity().getRemoved(), SearchCriteria.Op.NULL);
|
||||
tmpltTypeSearch.and("templateType", tmpltTypeSearch.entity().getTemplateType(), SearchCriteria.Op.EQ);
|
||||
|
||||
AccountIdSearch = createSearchBuilder();
|
||||
|
|
|
|||
Loading…
Reference in New Issue