Contact : navigation bar was not correct
This commit is contained in:
parent
e5b8e5af5a
commit
4f1d78b311
2 changed files with 5 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue