Skip to content

Advanced search with "or" operator for transactions #9538

@cioraneanu

Description

@cioraneanu

Support guidelines

Description

I love having the option to search for transactions using all the available fields. The only thing I'm missing is the option to join 2 queries using the OR operator 😇

I'm working on a third party client called "Firefly-Pico" and would like to implement a simple search field that takes the user input and looks for it in multiple places likes categories, tags, etc.

Solution

The proposed query syntax could look something like this: query=tag_is:1|account_is:2.

What are alternatives?

  • I could perform multiple requests to query=tag_is:1 and account_is:2 and merge the results but that throws the pagination out the window.

  • Another solution would be to add an Elasticsearch instance, feed it all the transactions, perform the queries against it and then return to the Firefly API with something like query=id:1106,1105,..... but that feels a little overkill and throws away all the awesome work you did with all the filtering options.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions