Jump to content


where AND where condicinal not working

condicinal condicional AND filter1 AND filter2 where filter

  • Please log in to reply
No replies to this topic

#1 Juan Carlos

Juan Carlos

    Newbie

  • Members
  • Pip
  • 5 posts
  • LocationLa Oroya

Posted 24 February 2015 - 06: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?.






Also tagged with one or more of these keywords: condicinal, condicional AND, filter1 AND filter2, where, filter

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users