@social-mail/social-mail-client 1.2.363 → 1.2.365

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.2.363",
3
+ "version": "1.2.365",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -168,7 +168,7 @@ export default class StoreItemListView extends AtomControl {
168
168
  }
169
169
 
170
170
  async searchTags(search: string, cancelToken): Promise<any> {
171
- let q = this.entityService.query(StoreTag);
171
+ let q = this.entityService.query(StoreTag, "storeQuery");
172
172
  if (search) {
173
173
  search = search.trim().toLocaleLowerCase() + "%";
174
174
  q = q.where({ search }, (p) => (x) =>
@@ -215,8 +215,9 @@ export default class StoreItemListView extends AtomControl {
215
215
  || Sql.text.iLike(x.description, p.search)
216
216
  || x.sizes.some((s) => Sql.text.iLike(s.name, p.search) || Sql.text.iLike(s.description, p.search))
217
217
  || x.variants.some((s) => Sql.text.iLike(s.name, p.search) || Sql.text.iLike(s.description, p.search))
218
- || x.storeItemTags.some((t) => Sql.text.like(t.tag.lowerCaseName, p.searchLower))
219
- || x.storeItemTags.some((t) => Sql.text.like(t.tag.parent.lowerCaseName, p.searchLower))
218
+ || x.storeItemTags.some((t) => Sql.text.like(t.tag.lowerCaseName, p.searchLower)
219
+ || Sql.text.like(t.tag.parent.lowerCaseName, p.searchLower)
220
+ )
220
221
  )
221
222
  && x.sizeForID === null
222
223
  && x.variantForID === null