@@ -, +, @@
has distinct hash + QA followup
---
.../prog/en/modules/reports/reports-home.tt | 24 ++++++++---------
.../prog/en/modules/tools/access_files.tt | 31 +++++++++++-----------
tools/access_files.pl | 2 +-
3 files changed, 29 insertions(+), 28 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt
@@ -49,27 +49,27 @@
Top lists
-
-
Inactive
-
+
Inactive
+
-
Other
-
+
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt
@@ -1,21 +1,9 @@
[% INCLUDE 'doc-head-open.inc' %]
Report/log files
[% INCLUDE 'doc-head-close.inc' %]
-
+
[% INCLUDE 'datatables.inc' %]
-
+
[% INCLUDE 'header.inc' %]
@@ -63,4 +51,17 @@
[% INCLUDE 'tools-menu.inc' %]
-[% INCLUDE 'intranet-bottom.inc' %]
+
+[% INCLUDE 'intranet-bottom.inc' %]
--- a/tools/access_files.pl
+++ a/tools/access_files.pl
@@ -53,8 +53,8 @@ else {
foreach my $dir(@directories){
opendir(DIR, $dir);
foreach my $filename (readdir(DIR)) {
- my $id = md5_hex($filename);
my $full_path = "$dir/$filename";
+ my $id = md5_hex($full_path);
next if ($filename =~ /^\./ or -d $full_path);
my $st = stat($full_path);
--