From 6648a811dfdb4cbe432dae59f373b5a9df28e513 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Mon, 11 Jan 2021 17:25:22 +0000
Subject: [PATCH] ui2: Ordner oeffnen und Datei waehlen hinzugefuegt

---
 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