diff --git a/system/services/siteTree/SiteService.cfc b/system/services/siteTree/SiteService.cfc index 832f6c3f8..9df46178d 100644 --- a/system/services/siteTree/SiteService.cfc +++ b/system/services/siteTree/SiteService.cfc @@ -40,7 +40,11 @@ component displayname="Site service" { * Returns a query of all the registered sites */ public query function listSites() output=false autodoc=true { - return _getSiteDao().selectData( orderBy="name", filter={ deleted=false } ); + return _getSiteDao().selectData( + orderBy = "name" + , filter = "deleted is null or deleted=:deleted" + , filterParams = { deleted=false } + ); } /**