noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 34/107: Clean code , remove useless comment


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 34/107: Clean code , remove useless comment
Date: Mon, 26 Aug 2019 10:31:53 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit bf98684eae84d62b06cf3268c8da89ff7d6b4cc6
Author: Dany De Bontridder <address@hidden>
Date:   Mon Jul 22 20:21:40 2019 +0200

    Clean code , remove useless comment
---
 html/fid_card.php | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/html/fid_card.php b/html/fid_card.php
index 57577bb..657e143 100644
--- a/html/fid_card.php
+++ b/html/fid_card.php
@@ -117,15 +117,12 @@ else
     }
 }
 
-
-/* create a filter based on j */
-/*$sql_str="select f_id, vw_name,quick_code,vw_description ".
-  " from vw_fiche_attr where  ".
-  " ( vw_name ilike '%'||$1||'%' or quick_code ilike $2||'%' or vw_description 
ilike '%'||$3||'%')    ".
-  $filter_card;
-*/
-
-$sql_str="select distinct f_id from fiche join fiche_detail using (f_id) where 
ad_id in (9,1,23) and ad_value ilike '%'||$1||'%' ".$filter_card.' limit 12';
+$sql_str="select distinct f_id 
+         from fiche 
+         join fiche_detail using (f_id) 
+         where 
+         ad_id in (9,1,23) 
+         and ad_value ilike '%'||$1||'%' ".$filter_card.' limit 12';
 
 
 $fid=$http->request("FID");



reply via email to

[Prev in Thread] Current Thread [Next in Thread]