noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 02/06: FollowUp show list of saved search


From: dwm
Subject: [Noalyss-commit] [noalyss] 02/06: FollowUp show list of saved search
Date: Sun, 25 Feb 2024 13:07:20 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 1c3fb046f0b8a4e0b6d14bf24dd3b981c2bf8feb
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Feb 18 13:53:37 2024 +0100

    FollowUp show list of saved search
---
 include/class/follow_up.class.php | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/class/follow_up.class.php 
b/include/class/follow_up.class.php
index fe0467890..2821a1ee3 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -1329,6 +1329,16 @@ class Follow_Up
         require_once NOALYSS_TEMPLATE.'/action_search.php';
     }
 
+    /**
+     * @brief display a form with the saved search
+     * @return voidµ
+     */
+    public static function display_saved_search()
+    {
+        $http=new HttpInput();
+        echo \HtmlInput::button_action("Recherches 
sauvées",sprintf("list_filter_followup('%s','%s')",Dossier::id(),$http->request("ac")));
+
+    }
     /**
      * @brief show a list of documents
      * @param $cn database connextion
@@ -1338,6 +1348,7 @@ class Follow_Up
     {
 
         Follow_Up::display_search($cn);
+        Follow_Up::display_saved_search();
 
         $act=new Follow_Up($cn);
         /** \brief
@@ -1350,6 +1361,7 @@ class Follow_Up
         require_once NOALYSS_TEMPLATE.'/action_other_action.php';
         echo $act->myList($p_base, "", $query);
         echo '</form>';
+
     }
     /**
      * @brief Show a button for adding follow-up action, display the FORM 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]