Skip to content

Bug in MongoDB plugin not_ends_with operator #295

@AlexandreGagner

Description

@AlexandreGagner

Hi,
I just found on the demo page and on my app, that the not_ends_with in mongoOperators is not working, the mongo query result is like broken
{ "$and": [ { "name": { "$regex": "(?

I think it's due to the '^' char in the regex at line 25 https://github.com/mistic100/jQuery-QueryBuilder/blob/master/src/plugins/mongodb-support/plugin.js#L25
I tried to correct but I suck at regex :/

Is this is really a bug ?

Regards

-- edit :
My bad it's not a plugin bug, it's the displaying of the query in a page that breaking html

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationIssue or PR in the gh-pages branch

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions