noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/20: Improve Manage_Table : search button i


From: dwm
Subject: [Noalyss-commit] [noalyss] 02/20: Improve Manage_Table : search button if modify or delete is on the left
Date: Sun, 10 Dec 2023 03:22:22 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 9d92671ed13b6da3bbea365b37fd2a2cdaab80be
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Oct 14 13:44:14 2023 +0200

    Improve Manage_Table : search button if modify or delete is on the left
---
 include/lib/manage_table_sql.class.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/lib/manage_table_sql.class.php 
b/include/lib/manage_table_sql.class.php
index 9fb1f7df3..ae181b58c 100644
--- a/include/lib/manage_table_sql.class.php
+++ b/include/lib/manage_table_sql.class.php
@@ -824,8 +824,10 @@ function check()
         }
         $nb_order=count($this->a_order);
         $virg=""; $result="";
+
         // filter only on visible column
-        $visible=0;
+        $visible=($this->icon_mod=='left')?1:0;
+        $visible=$visible+( ($this->icon_del=='left')?1:0);
         for ($e=0; $e<$nb_order; $e++)
         {
             if ($this->get_property_visible($this->a_order[$e])==TRUE)



reply via email to

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