Closed bagendahl closed 5 years ago
I can see why you need this - I must've completely missed this use-case somehow. I think for now it's a good fix to handle that use-case, but in the long run I'll want to add more args to the functions instead so that "filter" actually means filter, and nothing else. Probably adding a "sort" as well, at a "limit".
Thanks!
I can understand that would be more user friendly to have filter, sort, limit etc. But a suggestion could be to refactor "filter" to params (parameters), in that case if fortnox add more features you do not need to add any more params.
Hi again,
Could you change in fortieRequest.php from this:
to
Without
[filter]
in params if sending array. In this case you can send in multiple parameters, example:All params are enabled from documentation https://developer.fortnox.se/documentation/general/parameters/
Thanks, Patrick