Skip to content
Snippets Groups Projects
Commit 92b1af39 authored by nfcalabria's avatar nfcalabria
Browse files

Bugfix

parent 426744b8
No related branches found
No related tags found
No related merge requests found
......@@ -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 -> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment