@social-mail/social-mail-client 1.9.134 → 1.9.136

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24120,12 +24120,12 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
24120
24120
  const userID = SocialMailApp.user.userID;
24121
24121
  let q = this.entityService.query(WebSite);
24122
24122
  if (search) {
24123
+ const host = search + "%";
24123
24124
  search = "%" + search + "%";
24124
- const searchStart = search + "%";
24125
24125
  q = q.where({
24126
24126
  search,
24127
- searchStart
24128
- }, p => x => Sql.text.iLike(x.folder.name, p.search) || x.hosts.some(h => Sql.text.iLike(h.host, p.searchStart)));
24127
+ host
24128
+ }, p => x => Sql.text.iLike(x.folder.name, p.search) || x.hosts.some(h => Sql.text.iLike(h.host, p.host)));
24129
24129
  }
24130
24130
  q = isDesign ? q.where(x => x.isDesign === true) : q.where(x => x.isDesign === false);
24131
24131
  const top = yield (search ? q : q.orderByDescending({