Skip to content

Commit

Permalink
RESTWS-654: Program Resource should not return retired programs by de…
Browse files Browse the repository at this point in the history
…fault
  • Loading branch information
mogoodrich committed May 26, 2017
1 parent 820bf3d commit 2044bde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public String getUuid() {

@Override
public long getAllCount() {
return service.getAllPrograms(true).size();
return service.getAllPrograms(false).size();
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void purge(Program program, RequestContext context) throws ResponseExcept

@Override
protected NeedsPaging<Program> doGetAll(RequestContext context) {
return new NeedsPaging<Program>(Context.getProgramWorkflowService().getAllPrograms(), context);
return new NeedsPaging<Program>(Context.getProgramWorkflowService().getAllPrograms(false), context);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public String getURI() {
*/
@Override
public long getAllCount() {
return service.getAllPrograms(true).size();
return service.getAllPrograms(false).size();
}

/**
Expand Down

0 comments on commit 2044bde

Please sign in to comment.