Feature(s) impacted
searching and filtering into a smart fields
Observed behavior
the search didn’t find the column value, and filtering throw an error
Expected behavior
can search or filter on a smart field
Context
We have three collections (organisation, company, documents). Both, organisation and documents, have a company_id and I would like to display a searchable field of organisation into documents table.
I already found a way to do that (use model.findOne in /route) so I have the organisationId displayed but a search on a organisation Id finds nothing, and when I try to filter in the dev env I receive an error (organisation_Id is not part of documents collection)
Do I use it wrong or is there a problem ?
Thanks for your help