@autofleet/sadot 0.5.5-beta.16 → 0.5.5-beta.17

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.
@@ -12,9 +12,9 @@ const generateCustomFieldSearchQueryPayload = (searchTerm, model, entityId, excl
12
12
  + ` ON cd.entity_id = '${entityId}'`
13
13
  + ' AND cv.custom_field_definition_id = cd.id '
14
14
  + ` AND cd.model_type = '${model.name}' `
15
- + ' AND cd.field_type NOT IN (\'datetime\')'
16
15
  + ' WHERE'
17
16
  + ' "cv"."deleted_at" IS NULL'
17
+ + ' AND cd.field_type NOT IN (\'datetime\')'
18
18
  + ` AND "cv"."model_id" = "${model.name}"."id"`
19
19
  + ' AND CAST("cv"."value" AS TEXT) ILIKE :searchTerm)';
20
20
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/sadot",
3
- "version": "0.5.5-beta.16",
3
+ "version": "0.5.5-beta.17",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -37,9 +37,9 @@ export const generateCustomFieldSearchQueryPayload = (
37
37
  + ` ON cd.entity_id = '${entityId}'`
38
38
  + ' AND cv.custom_field_definition_id = cd.id '
39
39
  + ` AND cd.model_type = '${model.name}' `
40
- + ' AND cd.field_type NOT IN (\'datetime\')'
41
40
  + ' WHERE'
42
41
  + ' "cv"."deleted_at" IS NULL'
42
+ + ' AND cd.field_type NOT IN (\'datetime\')'
43
43
  + ` AND "cv"."model_id" = "${model.name}"."id"`
44
44
  + ' AND CAST("cv"."value" AS TEXT) ILIKE :searchTerm)';
45
45