Using quick search on a datatable that has fields from relationship database, we get an exception that that data passed to ConditionsHandler prep_match on line 111 is null. The data sent will be null as the column that we are searching for is not in the document that we passed to the verifyCondition method.
Approach can be to get the data at the time we process index or if we do not want to process index and proceed with documentFinder extended search from line 264 (!$indexSearched && count($found) === 0) { we will have to get relationship data there and then pass it to ConditionsHandler.
Using quick search on a datatable that has fields from relationship database, we get an exception that that data passed to ConditionsHandler prep_match on line 111 is null. The data sent will be null as the column that we are searching for is not in the document that we passed to the verifyCondition method.
Approach can be to get the data at the time we process index or if we do not want to process index and proceed with documentFinder extended search from line 264
(!$indexSearched && count($found) === 0) {we will have to get relationship data there and then pass it to ConditionsHandler.