phalcon-datatables icon indicating copy to clipboard operation
phalcon-datatables copied to clipboard

searching not working with joins

Open assadnazar opened this issue 5 years ago • 0 comments

If i use joins in builder then it does not filter content.

Here is my builder: $builder = $this->modelsManager->createBuilder() ->columns('c.id, pt.ccexpiry, c.name') ->from(['pt' => 'Mtmpayments\Models\Paymenttokeninfo']) ->join('Mtmpayments\Models\Customers', 'c.id=pt.customerid', 'c'); $dataTables = new DataTable(); $dataTables->fromBuilder($builder)->sendResponse();

Any idea?

assadnazar avatar Jul 25 '19 21:07 assadnazar