jo-ka
Member
Hello.
I'm working on a project where I've been given a REST API to get data from.
For the API method to work, the URI must have a season filter at beggining, or the API call will fail:
So, when I use 2020/2021 on the plugin filter, I'm able to get the data.
The question is, for the next season, I' must come to the list plugin and change the season to 2021/2022.
I have other fabrik list, let's say fab_seasons where one of the fields is inactive/active (0/1).
So, I would like to have the chance to use a SQL query on the filter value, something like:
So I don't have to change the filter every since a new season begins. I though I could use a Query on the filter type, as available in other Fabrik places, but it looks like it's not available.
Is there other way to achieve this, or perhaps an update to the plugin if simple?
Thanks in advance.
I'm working on a project where I've been given a REST API to get data from.
For the API method to work, the URI must have a season filter at beggining, or the API call will fail:
So, when I use 2020/2021 on the plugin filter, I'm able to get the data.
The question is, for the next season, I' must come to the list plugin and change the season to 2021/2022.
I have other fabrik list, let's say fab_seasons where one of the fields is inactive/active (0/1).
So, I would like to have the chance to use a SQL query on the filter value, something like:
Code:
SELECT season WHERE active = 1;
So I don't have to change the filter every since a new season begins. I though I could use a Query on the filter type, as available in other Fabrik places, but it looks like it's not available.
Is there other way to achieve this, or perhaps an update to the plugin if simple?
Thanks in advance.