`getCountAllResults` throws QueryException when I'm using `addWhereBuilderCallback` method to filter result by joined column. Query trying to be executed is: `"SELECT count(Purchases.id) FROM XXX\Entity\Purchase Purchases WHERE Purchases_Merchants.id = 18"` With `hideFilteredCount(false)` everything works fine.
getCountAllResultsthrows QueryException when I'm usingaddWhereBuilderCallbackmethod to filter result by joined column.Query trying to be executed is:
"SELECT count(Purchases.id) FROM XXX\Entity\Purchase Purchases WHERE Purchases_Merchants.id = 18"With
hideFilteredCount(false)everything works fine.