[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 24/29: Contact : navigation bar was not corre
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 24/29: Contact : navigation bar was not correct |
Date: |
Wed, 4 Nov 2020 11:08:45 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 4f1d78b311c50bc5be7da6a76764935decc66668
Author: Dany wm De Bontridder <danydb@noalyss.eu>
AuthorDate: Sun Nov 1 20:10:49 2020 +0100
Contact : navigation bar was not correct
---
include/class/contact.class.php | 2 +-
include/contact.inc.php | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/include/class/contact.class.php b/include/class/contact.class.php
index 4bd785c..39bf449 100644
--- a/include/class/contact.class.php
+++ b/include/class/contact.class.php
@@ -59,7 +59,7 @@ class contact extends Fiche
$script=$_SERVER['PHP_SELF'];
// Creation of the nav bar
// Get the max numberRow
-
$all_contact=$this->count_by_modele($this->fiche_def_ref,$p_search,$extra_sql);
+
$all_contact=$this->count_by_modele($this->fiche_def_ref,$p_search,$extra_sql.$p_sql);
// Get offset and page variable
$offset=( isset ($_REQUEST['offset'] )) ?$_REQUEST['offset']:0;
$page=(isset($_REQUEST['page']))?$_REQUEST['page']:1;
diff --git a/include/contact.inc.php b/include/contact.inc.php
index f226618..ca3b0ba 100644
--- a/include/contact.inc.php
+++ b/include/contact.inc.php
@@ -29,8 +29,9 @@ require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php';
$http=new HttpInput();
-$low_action = (isset($_REQUEST['sb'])) ? $_REQUEST['sb'] : "list";
-/** \file
+$low_action = $http->request('sb','string','list');
+/**
+ * \file
* \brief Called from the module "Gestion" to manage the contact
*/
$href=basename($_SERVER['PHP_SELF']);
@@ -81,7 +82,7 @@ if ($low_action == "list")
' where frd_id=' . FICHE_TYPE_CONTACT .
' order by fd_label ', 1);
$sel_card->selected = (isset($_GET['cat'])) ? $_GET['cat'] : -1;
- $sel_card->javascript = ' onchange="submit(this);"';
+ $sel_card->javascript = '
onchange="waiting_box();submit(this);"';
echo _('Catégorie :') . $sel_card->input();
- [Noalyss-commit] [noalyss] 19/29: Predefined Operation filter by ledger, (continued)
- [Noalyss-commit] [noalyss] 19/29: Predefined Operation filter by ledger, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 21/29: cosmetic , remove myfiedset class, unclosed tag , the title comment is not show if there is no comment, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 20/29: Cosmetic Admin List Folders : add close button, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 02/29: Sort by earliest one, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 07/29: 0001827: Delta des opérations liées basé sur le montant d'une seule opération, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 09/29: Adapt for Textarea, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 04/29: Followup : change moyenne par normale, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 08/29: FollowUp commentaire unique et modifiable, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 18/29: Follow UP detail do not show the "Add Rows button" in READ mode, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 23/29: Cosmetic : ledger name, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 24/29: Contact : navigation bar was not correct,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 29/29: Merge branch 'checkbox-range', Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 28/29: Task #0001861: Plage de cases à cocher, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 12/29: Suivi : description modifiable, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 15/29: Document_State : rewriting, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 17/29: Security For document_state and tag_group, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 14/29: cosmetic : set the total and compute button outside of the frame, Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 26/29: Cosmetic : add waiting box when searching by card category for Management customer, supplier, ..., Dany De Bontridder, 2020/11/04
- [Noalyss-commit] [noalyss] 27/29: code : fix deprecated unparenthized (a)?b:c?e:x, Dany De Bontridder, 2020/11/04