Hi guys, first post here :)
I recently bought the Bootstrap Theme and I love it.
Unfortunately, I think I found a bug and I am searching for a fix or a workaround. Here it is:
When i use
->or_where()
or
->where("field = value OR field = value2")
to pre-filter the a table view, the filtering at the top of each column doesn't work anymore.
Here are two samples of code where i'm having this issue:
$this->grocery_crud->set_table('inspection_planification_projects') ->set_subject('un Projet') ->unset_columns('idprojet', 'date_potentielle_visite','no_lot','nomProjet') ->set_relation('plan','accreditation_plan_types', 'label') ->where('(date_potentielle_visite IS NULL OR date_potentielle_visite = "") AND (date_rappel < CURRENT_DATE OR date_rappel IS NULL OR date_rappel = "") AND date_habite IS NULL OR date_habite = ""') ->unset_add() ->unset_delete() ->unset_read();
$this->grocery_crud->set_table('inspection_planification_projects') ->set_subject('un Projet') ->unset_columns('idprojet') ->set_relation('plan','accreditation_plan_types', 'label') ->where('date_potentielle_visite', NULL) ->or_where('date_potentielle_visite','') ->unset_columns('date_potentielle_visite') ->unset_add() ->unset_delete() ->unset_edit() ->unset_read();
Any thoughts?
Thanks,
Marc