Skip to content

Commit

Permalink
Merge branch 'hotfix-10.27.27' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
sebduggan committed Dec 19, 2024
2 parents 492f770 + f8a3912 commit 3e45cdd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion system/services/siteTree/SiteService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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 }
);
}

/**
Expand Down

0 comments on commit 3e45cdd

Please sign in to comment.