bug 13712: do not download removed template

status 12712: resolved fixed

reviewed-by: edison
This commit is contained in:
anthony 2012-02-14 18:32:28 -08:00
parent 46d209a3fb
commit b6bc39bea8
1 changed files with 1 additions and 0 deletions

View File

@ -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();