add a limit for the card search by typing part of the name
This commit is contained in:
parent
d122ba4496
commit
95b07cba1b
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ if ( $jrn != -1 ) {
|
|||
$filter_card;
|
||||
*/
|
||||
|
||||
$sql_str="select distinct f_id from fiche join jnt_fic_att_value using (f_id) join attr_value using(jft_id) where ad_id in (9,1,23) and av_text ilike '%'||$1||'%' ".$filter_card;
|
||||
$sql_str="select distinct f_id from fiche join jnt_fic_att_value using (f_id) join attr_value using(jft_id) where ad_id in (9,1,23) and av_text ilike '%'||$1||'%' ".$filter_card.' limit 12';
|
||||
|
||||
$sql=$cn->get_array($sql_str ,array($_REQUEST['FID']));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue