I cannot put set_relation_n_n and field_type/true_false into the same function. Once I modify any field with a true_false field type, the nice set_relation_n_n field_type stops displaying correctly (instead of the field where I can both add categories and arrange them I get a simple listbox with multiple select option).
These are the two problematic entries:
$this->grocery_crud->set_relation_n_n('problemos','problemos','probl_kategorijos','kons_id','problemos_id','pavadinimas','pagrindine'); $this->grocery_crud->field_type('nukr1','true_false');
I am using 1.5.4 Grocery CRUD and CodeIgniter 3.0.5, php version is 5.3.10-1ubuntu3.18