diff --git a/html/js/gestion.js b/html/js/gestion.js index 47ab8f5c3..de1e19b61 100644 --- a/html/js/gestion.js +++ b/html/js/gestion.js @@ -283,6 +283,8 @@ function action_show(p_dossier) remove_waiting_box(); add_div({id: 'action_list_div', style:"top:1%;width:90%;left:5%" , cssclass: 'inner_box'}); $('action_list_div').innerHTML=p_xml.responseText; + var table_followup=document.getElementById('event_followup'); + if ( table_followup) { sorttable.makeSortable(table_followup); } } }); } catch (e) diff --git a/html/js/sorttable.js b/html/js/sorttable.js index 8f4f83fdb..fd33a8a45 100644 --- a/html/js/sorttable.js +++ b/html/js/sorttable.js @@ -21,9 +21,7 @@ Show the default order example: - .... ▴ - - ....  ▾ + Sort on date // format YYYYMMDD diff --git a/include/ajax/ajax_gestion.php b/include/ajax/ajax_gestion.php index f563a98c7..814e383ec 100644 --- a/include/ajax/ajax_gestion.php +++ b/include/ajax/ajax_gestion.php @@ -36,7 +36,7 @@ if ($op=='action_show') */ require_once NOALYSS_INCLUDE.'/class/follow_up.class.php'; $gestion=new Follow_Up($cn); - $array=$gestion->get_last(25); + $array=$gestion->get_last(35); $len_array=count($array); require_once NOALYSS_TEMPLATE.'/action_show.php'; return; diff --git a/include/template/action_show.php b/include/template/action_show.php index a3eef782f..6971c70a4 100644 --- a/include/template/action_show.php +++ b/include/template/action_show.php @@ -29,13 +29,21 @@ require_once NOALYSS_INCLUDE.'/class/default_menu.class.php'; $a_default=new Default_Menu(); echo HtmlInput::title_box(_('Suivi'), 'action_list_div'); + +echo _("Recherche"),HtmlInput::filter_table("event_followup", '0,1,2,3', 1); ?> - +
+ + + + + + -
+