basic filter not working
Posted: 2022-04-28 19:46
function data_init(&$options, $memberInfo, &$args) {
//A3 Aqui filtraremos para q solo salga la data con un campo del loogeado
//
if(!$_POST['FilterField'][1] && !$_GET['FilterField'][1]){
/*
In the call below, we want to display records of the customers
table where the value of the 7th field is equal to 'New'.
*/
addFilter(1, 'and', 50, 'equal-to', 'tratante1');
}
return TRUE;
}
Using the example as blueprint and only changed it for the field 50 to be the word tratante.
Its the only one filter
Sorry to bother, but cant figure it out
a3
//A3 Aqui filtraremos para q solo salga la data con un campo del loogeado
//
if(!$_POST['FilterField'][1] && !$_GET['FilterField'][1]){
/*
In the call below, we want to display records of the customers
table where the value of the 7th field is equal to 'New'.
*/
addFilter(1, 'and', 50, 'equal-to', 'tratante1');
}
return TRUE;
}
Using the example as blueprint and only changed it for the field 50 to be the word tratante.
Its the only one filter
Sorry to bother, but cant figure it out
a3