changeset 584:3af19d51dd7e

more fixing default file class for DocuDir.size()
author robcast
date Wed, 05 Jan 2011 14:44:19 +0100
parents 5d80f333828a
children 41a8d293b798 a667d2952aab
files client/digitallibrary/dirInfo-xml.jsp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/dirInfo-xml.jsp	Wed Dec 22 18:47:03 2010 +0100
+++ b/client/digitallibrary/dirInfo-xml.jsp	Wed Jan 05 14:44:19 2011 +0100
@@ -24,7 +24,7 @@
 // get directory
 digilib.io.DocuDirectory dir = dirCache.getDirectory(dlRequest.getFilePath());
 FileOps.FileClass fc = FileOps.FileClass.IMAGE;
-int dirSize = dir.size();
+int dirSize = dir.size(fc);
 
 %><!-- Automatically generated XML snippet with directory info -->
 <huhu/>