Skip to content

Commit

Permalink
Merge pull request #5 from nla/FOLIOINT-244
Browse files Browse the repository at this point in the history
FOLIOINT-244 Skip parked requests when printing.
  • Loading branch information
nlaforwardism authored Jul 25, 2023
2 parents 3ef6ebe + bf91fa1 commit 82fddb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<dependency>
<groupId>au.gov.nla</groupId>
<artifactId>folio-api</artifactId>
<version>1.0.12-RELEASE</version>
<version>1.0.13-RELEASE</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void bulkExport(
return;
}

// filter out visitors unless we're printing visitors, and anything that's not
// filter out visitors unless we're printing visitors, parked requests, and anything that's not
// open-not-yet-filled. Sort by something that looks like a dewey number (or running number),
// then alphabetically.
var sorted =
Expand All @@ -114,6 +114,7 @@ public void bulkExport(
.filter(
p ->
p.visiting() == visitors
&& !p.parked()
&& PickslipQueues.Pickslip.Request.Status.OPEN_NOT_YET_FILLED
.getCode()
.equalsIgnoreCase(p.request().status()))
Expand Down

0 comments on commit 82fddb0

Please sign in to comment.