farmOS / farmOS.js

A JavaScript library for working with farmOS data structures and interacting with farmOS servers.
MIT License
15 stars 13 forks source link

Add support for array values in filter parameters #39

Closed jgaehring closed 2 years ago

jgaehring commented 3 years ago

I realized yesterday I haven't yet implemented using multiple values as filter parameters, though Drupal's JSON:API module supports it:

https://www.drupal.org/docs/core-modules-and-themes/core-modules/jsonapi-module/filtering#s-4-filtering-with-arrays-get-nodes-created-by-users-admin-john

Arrays are commonly used with the $in operator (as I believe I'll be doing for log categories in Field Kit), so this could be good to add at the same time as #33.