[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 09/12: Card : attribute 54 is now a column fo
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 09/12: Card : attribute 54 is now a column for each card |
Date: |
Fri, 15 Jan 2021 09:40:07 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 2e66a8790d907cb645d83fb7dad9149f38d59fd0
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Tue Jan 12 12:12:35 2021 +0100
Card : attribute 54 is now a column for each card
---
include/ajax/ajax_card.php | 2 +-
include/class/card_multiple.class.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/ajax/ajax_card.php b/include/ajax/ajax_card.php
index 5c7cdac..3c0e86d 100644
--- a/include/ajax/ajax_card.php
+++ b/include/ajax/ajax_card.php
@@ -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 */
diff --git a/include/class/card_multiple.class.php
b/include/class/card_multiple.class.php
index 13ca09f..06c665b 100644
--- a/include/class/card_multiple.class.php
+++ b/include/class/card_multiple.class.php
@@ -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;
}
/**
- [Noalyss-commit] [noalyss] branch master updated (a723604 -> 9e40622), Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 02/12: SQL : improve vw_fiche_attr with index, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 03/12: Task #0001869: Session key : clef de session, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 01/12: Export GL PDF : no row found for an accounting, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 04/12: Bug : if all the quantity are NULL, then we have only one row in jrn, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 05/12: Generate document : DESCRIPTION for invoice (e_comm), Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 08/12: code cleaning and replace $_SERVER['SCRIPT_FILENAME'] by $_SERVER['PHP_SELF'] SCRIPT_FILENAME in a FPM environment is the CGI script, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 09/12: Card : attribute 54 is now a column for each card,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 10/12: javascript message , use function htmlspecialchar instead of escape_xml, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 06/12: Bug : DESCRIPTION tag, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 12/12: Tache #1844 Menu : ouverture menu par défaut, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 11/12: Correct bug #0001882: predefined operation ODS not visible, Dany De Bontridder, 2021/01/15
- [Noalyss-commit] [noalyss] 07/12: Card : attribute 54 is now a column for each card, Dany De Bontridder, 2021/01/15