[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 37/46: Manage_Table show header even if table
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 37/46: Manage_Table show header even if table empty |
Date: |
Tue, 13 Jul 2021 05:02:01 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 7845ebb136d5aa5c81323251a9c006b226d22508
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Jun 24 14:26:46 2021 +0200
Manage_Table show header even if table empty
---
include/lib/manage_table_sql.class.php | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/include/lib/manage_table_sql.class.php
b/include/lib/manage_table_sql.class.php
index 1286ee1..73f7a8a 100644
--- a/include/lib/manage_table_sql.class.php
+++ b/include/lib/manage_table_sql.class.php
@@ -831,13 +831,10 @@ function check()
} else {
printf('<table class="result sortable" id="tb%s">',
$this->object_name);
}
+ $this->display_table_header();
+ echo '<tbody>';
for ($i=0; $i<$nb; $i++)
{
- if ($i==0)
- {
- $this->display_table_header();
- echo '<tbody>';
- }
$row=Database::fetch_array($ret, $i);
$this->display_row($row);
}
- [Noalyss-commit] [noalyss] 29/46: Use autoload, (continued)
- [Noalyss-commit] [noalyss] 29/46: Use autoload, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 31/46: Module decrease font-size, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 32/46: Code Cleaning #0002022: Utilisation d'un autoloader, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 35/46: Update Translation, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 36/46: get the output with transform2pdf in case it fails, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 41/46: Cosmetic #0002033: Alignement totaux + Trésorerie -> Financier/banque, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 42/46: Typo , debug information, jQuery available, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 43/46: check that g_user exists and not the g_theme, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 46/46: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 45/46: Cosmetic : unwanted char in operation detail, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 37/46: Manage_Table show header even if table empty,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 13/46: Forecast : protect against empty name, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 14/46: Bug simple report : FROM 00.0000 was computed from user preference instead of end period. Improve ergonomy, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 25/46: Cosmetic : appearance h2.info, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 30/46: fix bug, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 34/46: Typo , adapt unit-test, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 38/46: Remove Actif / Passif as card attribute, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 39/46: Acc_ledger : use $currency_rate instead of variable from extract, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 40/46: Merge branch 'b-orion' into 'master', Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 44/46: Cosmetic : unwanted char in operation detail, Dany De Bontridder, 2021/07/13