[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/05: Task #1079 - Bug : filtre pour client,
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/05: Task #1079 - Bug : filtre pour client, fournisseur dans gestion Bug : quick filter on column name was broken |
Date: |
Sat, 10 Jan 2015 12:00:09 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit a0dd404009394b372cd3e85a53551165bedbe9e4
Author: Dany De Bontridder <address@hidden>
Date: Sat Jan 10 12:56:19 2015 +0100
Task #1079 - Bug : filtre pour client, fournisseur dans gestion
Bug : quick filter on column name was broken
---
include/class_fiche.php | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/include/class_fiche.php b/include/class_fiche.php
index 2c994f5..4f50cd8 100644
--- a/include/class_fiche.php
+++ b/include/class_fiche.php
@@ -1525,7 +1525,7 @@ class Fiche
$cc=new Acc_Parm_Code($this->cn,'COMPTE_COURANT');
bcscale(4);
- $str_dossier=dossier::get();
+ $gDossier=dossier::id();
$p_search=sql_string($p_search);
$script=$_SERVER['PHP_SELF'];
// Creation of the nav bar
@@ -1564,7 +1564,7 @@ class Fiche
if ( $all_tiers == 0 || count($step_tiers)==0 ) return "";
$r="";
- $r.=_("Filtre rapide ").HtmlInput::filter_table("tiers_tb", '0,1', 1);
+ $r.=_("Filtre rapide ").HtmlInput::filter_table("tiers_tb", '0,1,2',
1);
$r.=$bar;
$r.='<table id="tiers_tb" class="sortable"
style="width:90%;margin-left:5%">
@@ -1604,8 +1604,9 @@ class Fiche
$odd=' class="'.$odd.'"';
$r.="<TR $odd>";
- $e=sprintf('<A HREF="%s?ac=%s&sb=detail&f_id=%d&%s&sc=sv"
title="Détail" class="line"> ',
- $script,$_REQUEST['ac'],$tiers->id,$str_dossier);
+
$url_detail=$script.'?'.http_build_query(array('sb'=>'detail','sc'=>'sv','ac'=>$_REQUEST['ac'],'f_id'=>$tiers->id,'gDossier'=>$gDossier));
+ $e=sprintf('<A HREF="%s" title="Détail" class="line"> ',
+ $url_detail);
$r.="<TD> $e".$tiers->strAttribut(ATTR_DEF_QUICKCODE)."</A></TD>";
$r.="<TD> $e".$accounting."</TD>";
- [Noalyss-commit] [noalyss] branch master updated (d8e596d -> 37c6068), Dany De Bontridder, 2015/01/10
- [Noalyss-commit] [noalyss] 01/05: Task #1078 - Bug opération prédéfinie pour les opérations diverses To fix the bug, we implement a safer way to get data from _POST, the function Pre_Op_Advance::get_post was not correct, Dany De Bontridder, 2015/01/10
- [Noalyss-commit] [noalyss] 04/05: Task #1079 - Bug : filtre pour client, fournisseur dans gestion Bug : quick filter on column name was broken,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/05: Merge rel6800-xmas, Dany De Bontridder, 2015/01/10
- [Noalyss-commit] [noalyss] 02/05: Traduction, Dany De Bontridder, 2015/01/10
- [Noalyss-commit] [noalyss] 03/05: security : check id, Dany De Bontridder, 2015/01/10