Permalink
Browse files

5130 Pull votes in from amendments on bill pages.

  • Loading branch information...
1 parent c79d461 commit 30cbdd1b08ec2aafe77fa257638336c1b8abbf1c @GraylinKim GraylinKim committed Jun 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/gov/nysenate/openleg/api/SingleViewRequest.java
@@ -68,7 +68,7 @@ public void fillRequest() throws ApiRequestException {
request.setAttribute("related-" + rType, calendars);
rType = "vote";
- rQuery = QueryBuilder.build().otype(rType).and().keyValue("billno", id).query();
+ rQuery = QueryBuilder.build().otype(rType).and().relatedBills("billno", id).query();
ArrayList<Vote> votes = SearchEngine.getInstance().getSenateObjects(rQuery, Vote.class);
request.setAttribute("related-" + rType, votes);
}

0 comments on commit 30cbdd1

Please sign in to comment.