ypnos-web / cakephp-datatables

CakePHP3 Plugin for DataTables plug-in for jQuery
MIT License
27 stars 24 forks source link

pre-condition for query instead of find('all') #57

Closed jevchan91 closed 6 years ago

jevchan91 commented 6 years ago

$data = $this->DataTables->find('Table', 'all', ......

where condition is missing at options i wish to apply WHERE ['Table.id NOT IN' => array(1,2,3)] to hide/custom query for all actions when init

any solution?

jevchan91 commented 6 years ago

sorry guys, found out this at previous issue, and hope u can put at documentation.

https://github.com/ypnos-web/cakephp-datatables/issues/42

thanks