I have a field in a custom entity that is a checkbox. The way the status can be filtered for primarFilterName property, is it possible to that with a checkbox?
Announcement
Collapse
No announcement yet.
Can I filter view by checkbox instead of status?
Collapse
X
-
Like this?
PHP Code:protected function filterBilled(&$result) { $result['whereClause'][] = array( 'billed' => true ); }
Code:this.createView('dialog','Modals.SelectRecords',{ scope:'Call', primaryFilterName: true });
Last edited by worldmiros; 05-13-2016, 06:36 PM.
Comment
Comment