Skip to content

Commit

Permalink
getAllPVs without the pv argument should include aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
slacmshankar committed Jun 16, 2016
1 parent 4f19823 commit cb5e83b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ public static LinkedList<String> getMatchingPVs(HttpServletRequest req, ConfigSe
return pvNames;
}
}
for(String pvName : configService.getAllAliases()) {
pvNames.add(pvName);
if(limit != -1 && pvNames.size() >= limit) {
return pvNames;
}
}
}
}
return pvNames;
Expand Down

0 comments on commit cb5e83b

Please sign in to comment.