From ef1b11d43280a61e37a7c4cbab2271c61664e601 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 06 Jan 2021 23:12:22 +0000
Subject: [PATCH] aufgeraeumt

---
 src/java/de/uhilger/filecms/pub/Catalog.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/java/de/uhilger/filecms/pub/Catalog.java b/src/java/de/uhilger/filecms/pub/Catalog.java
index 453049c..5381c92 100644
--- a/src/java/de/uhilger/filecms/pub/Catalog.java
+++ b/src/java/de/uhilger/filecms/pub/Catalog.java
@@ -71,7 +71,7 @@
       path.append(relPath);
       File dir = new File(getBase().getAbsolutePath(), path.toString());
       if(dir.exists()) {
-        File[] fileArray = dir.listFiles();
+        File[] fileArray = dir.listFiles(new ImgFileFilter());
         if(orderBy != null && orderBy.equalsIgnoreCase("date")) {
           Arrays.sort(fileArray, new FileDateComparator(order));
         }

--
Gitblit v1.9.3