Commit 77d45953 authored by Michael Ritter's avatar Michael Ritter
Browse files

Filter out directory entries

parent 081e56e4
......@@ -74,6 +74,7 @@ public class SummaryQuery {
final String MI_JOIN = "JOIN ( " +
" SELECT count(id) AS count, sum(size) AS size, parentcollection_id " +
" FROM monitored_item " +
" WHERE directory = 0 " +
" GROUP BY parentcollection_id) AS m " +
" ON m.parentcollection_id = c.id ";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment