Skip to content

Issue With Regex Query in Where Filter. #12

@sohaibahsan007

Description

@sohaibahsan007

Hello,
Whenever I try to pass where with regex it fails.

Request GET /sale-profit-reports/count?where[and][0][status]=processed&where[or][0][receiptNumber][regexp]=/Rashid/i failed with status code 500. TypeError: Cannot read property 'call' of undefined
at /Users/sohaibahsan/Documents/GitHub/api-reporting-smiels/node_modules/knex-filter-loopback/index.js:139:31

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions