SoftwareBrothers / adminjs-sequelizejs

Sequelizejs adapter for AdminBro
MIT License
27 stars 34 forks source link

fix: filter convertion for string property #56

Closed t1nky closed 3 years ago

t1nky commented 3 years ago

(Fixes #52 )Fixed filter convertion. When filtering by string, it was failing with the following error:

Error: Invalid value Where {
  attribute: Fn { fn: 'LOWER', args: [ Col { col: 'users.nickname' } ] },
  comparator: '=',
  logic: { [Symbol(like)]: Fn { fn: 'LOWER', args: [ '%t%' ] } }
}
github-actions[bot] commented 3 years ago

:tada: This PR is included in version 1.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: