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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/java/de/uhilger/filecms/pub/Catalog.java b/src/java/de/uhilger/filecms/pub/Catalog.java
index 2e8153b..5381c92 100644
--- a/src/java/de/uhilger/filecms/pub/Catalog.java
+++ b/src/java/de/uhilger/filecms/pub/Catalog.java
@@ -19,7 +19,7 @@
 package de.uhilger.filecms.pub;
 
 import de.uhilger.filecms.api.Api;
-import de.uhilger.filecms.data.Bild;
+import de.uhilger.wbx.Bild;
 import de.uhilger.filecms.data.FileRef;
 import java.io.File;
 import java.util.ArrayList;
@@ -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