⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

where AND where condicinal not working



Juan Carlos
  • profile picture
  • Member

Posted 24 February 2015 - 18:43 PM

Dear,
 
I need my crud is filtered by two fields, I used the Where function as follows :
 
            

            $crud = new grocery_CRUD();

 
            $crud->set_theme('twitter-bootstrap');
 
            $crud->set_table("projet");
            $crud->set_subject('Project');
            $crud->set_language('spanish');
            $crud->columns('codpro','nombre','fini','fend','codarea','codclient','file','codestpro');
            $crud->where('manager_project', '55');
            $crud->where('type','1');
            $crud->order_by('codpro','desc');
 
but it does not filter anything. only filter when I use a single function where, but if you use two functions do not show me Where no registration.
 
As I can fix this, I'm using grocery crud 1.4.
 
 
PS: I would like to use the new verson of the subject ootstrap 3 for grocery crud 1.5, does anyone know if this shared?.