Skip to content

Edit types on the Query Builder object #163

@nathan-rogers

Description

@nathan-rogers

QueryBuilder.types is a JSON object that contains 'datetime' as a property(line 156). Our operators are bound to our filters based on the TYPE of the FILTER.

This is all well and good, but our client wants to have a separate set of operators, dynamic and static, so that means I need a new TYPE so I can apply the OPERATORS to the FILTER by 'datetimerange' TYPE.

I cannot find the types object in the developer tools to know where the QueryBuilder.Types object lives, nor where or how to extend it. I can convert datetimerange to datetime again on our backend, but in order to render the dynamic dates correctly, your plugin applies changes by type, so therefor I need a new type to play with. Ideas?

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