Sushi with 3rd party api request loading table strange issues.
using sushi to get 3rd party api to be placed in a filimant table.
When I use sushiModel::query() works, but I need to pass it a param sometimes to adjust the request. However when I use sushiModel->query() causes issues where the table loads before the query is returned. Causing bulk save to not work, popping up modal when submitting my form. Crazy stuff.
I use sushiModel->query to add a filter to the api request to re-run the query but it causes some crazy issues.
Wondering what exactly changes from static query to method call query and why form->query(model->query()) doesn't work as well as (model::query())
0 Replies