Card : attribute 54 is now a column for each card

This commit is contained in:
sparkyx 2021-01-12 12:12:35 +01:00
parent c7c518a19d
commit 2e66a8790d
2 changed files with 2 additions and 2 deletions

View file

@ -474,7 +474,7 @@ case 'fs':
* if inactive == 0 , then only active card
*/
if ( $inactive == 0 ) {
$sql.=" and f_id in (select f_id from fiche_detail where ad_id=54 and ad_value='1') ";
$sql.=" and f_enable='1' ";
}
/* We limit the search to MAX_SEARCH_CARD records */

View file

@ -102,7 +102,7 @@ class Card_Multiple
*/
private function filter_enable_card()
{
$filter_enable_card=" f_id in (select f_id from fiche_detail where ad_value = '1' and ad_id=54) ";
$filter_enable_card=" f_enable='1' ";
return $filter_enable_card;
}
/**