[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");
- [Noalyss-commit] [noalyss] 12/107: Code cleaning replace $start and $end by $periode_...>value to avoid to get it several times, (continued)
- [Noalyss-commit] [noalyss] 12/107: Code cleaning replace $start and $end by $periode_...>value to avoid to get it several times, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 23/107: Bug javascript mispelled function show_tab, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 21/107: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss into dev7016, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 15/107: Icon_Action : add testing + cosmetic for Icon_Action::menu, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 22/107: typo, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 26/107: Code Cleaning : replace tempname with sys_get_temp_dir Merge commit 'd85d6f8c77083fb997441a672d222bb10836af3e' into dev7109, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 27/107: Improve : depending if pdftk is a snap or not , his path must be a setting, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 30/107: New function PDF:is_fill add documentation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 35/107: indent code, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 37/107: Card : allow to specify the max displaid rows, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 34/107: Clean code , remove useless comment,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 60/107: New message : failed, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 01/107: replace tempname with sys_get_temp_dir, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 03/107: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 05/107: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 19/107: Bug with javascript document.viewport cannot be used directly, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 20/107: Bug with javascript global variable width is undefined, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 31/107: translation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 25/107: correct js for error, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 29/107: Bug in exception : gettext cannot accept 2 args, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 33/107: Small bug use the date instead of now for table version, Dany De Bontridder, 2019/08/26