I want to add a checkbox field in basic search of lead module which works like checkbox "My items".
1. I add a non db definition
$dictionary['Lead']['fields']['current_status']= array('name' => 'current_status',
'label' => 'Current',
'type' => 'bool',
'source' => 'non-db','default' => '0');
This creates a checkbox field,I add this field in basic search using admin studio and add query definition in searchfields.php .
Everything works fine except one thing I want a checkbox in basic search but there is a dropdown (select box showing with yes,no option).
I want checkbox there what wrong I did in code I don't understand
Hope any one has solution for this problem
Thanks in advance.