1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-15 10:46:26 +00:00

Closes #216: redirect to login if not connected

This commit is contained in:
Benjamin Gamard
2018-03-22 15:05:24 +01:00
parent 5d9b87dace
commit 785ad7f3a1
6 changed files with 11 additions and 23 deletions

View File

@@ -203,7 +203,6 @@ public class DocumentDao {
Map<String, Object> parameterMap = new HashMap<>();
List<String> criteriaList = new ArrayList<>();
// TODO Simplify SELECT clause for count(*)
StringBuilder sb = new StringBuilder("select distinct d.DOC_ID_C c0, d.DOC_TITLE_C c1, d.DOC_DESCRIPTION_C c2, d.DOC_CREATEDATE_D c3, d.DOC_LANGUAGE_C c4, ");
sb.append(" s.count c5, ");
sb.append(" f.count c6, ");