How to map search field to query parameter ?
acabrol opened this issue · 1 comments
acabrol commented
How to map search field to query parameter ?
alx commented
To setup the datasource:
https://github.com/alx/parasol/blob/master/src/Components/Filters/SearchInput.js#L14
It's filtering on the text
attribute returned from the network.get("graph").nodes.map
, so you can change this value to modify the query parameter.
At the moment, it's only using node.id
, or node.metadata.label
if available.
and
https://github.com/alx/parasol/blob/master/src/Components/Filters/SearchInput.js#L79