Commit 92b1af39 authored by nfcalabria's avatar nfcalabria
Browse files

Bugfix

parent 426744b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -563,7 +563,7 @@ public class NodeDAO {
                + "n.type, n.async_trans, n.sticky, n.job_id IS NOT NULL AS busy_state, n.creator_id, n.group_read, n.group_write,\n"
                + "n.is_public, n.content_length, n.created_on, n.last_modified, n.accept_views, n.provide_views, n.quota, n.content_md5, n.target\n"
                + "FROM node n\n"
                + "WHERE " + String.join(" OR ", Collections.nCopies(vosPaths.size(), "n.node_id  = id_from_vos_path(?)")) + "\n"
                + "WHERE (" + String.join(" OR ", Collections.nCopies(vosPaths.size(), "n.node_id  = id_from_vos_path(?)")) + ")\n"
                + "AND n.type = 'link'\n";

        return jdbcTemplate.query(conn -> {