Commit 6650c55b authored by nfcalabria's avatar nfcalabria
Browse files

Bugfix

parent 41841d4f
......@@ -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 -> {
......
Supports Markdown
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