Summary: | C4::Circulation::LostItem should pass through skip_record_index to MarkIssueReturned | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Renvoize (ashimema) <martin.renvoize> |
Component: | Architecture, internals, and plumbing | Assignee: | Martin Renvoize (ashimema) <martin.renvoize> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | fridolin.somers, jonathan.druart, nick |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.05.00
|
|
Circulation function: | |||
Bug Depends on: | 24446, 27281 | ||
Bug Blocks: | |||
Attachments: |
Bug 28210: Unit test
Bug 28210: Pass skip_record_index through LostItem Bug 28210: Unit test Bug 28210: Add issue, replacementprice, and set onloan so check-in tests work Bug 28210: Pass skip_record_index through LostItem |
Description
Martin Renvoize (ashimema)
2021-04-23 15:46:38 UTC
Created attachment 120118 [details] [review] Bug 28210: Unit test Add a unit test to check that skip_record_index is adhered to when passed to LostItem with the force_mark_returned option enabled. Created attachment 120119 [details] [review] Bug 28210: Pass skip_record_index through LostItem This patch restores the skip_record_index optional parameter for LostItem and passes it through to MarkIssueReturned as required. *** Bug 28209 has been marked as a duplicate of this bug. *** Created attachment 120179 [details] [review] Bug 28210: Unit test Add a unit test to check that skip_record_index is adhered to when passed to LostItem with the force_mark_returned option enabled. Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Created attachment 120180 [details] [review] Bug 28210: Add issue, replacementprice, and set onloan so check-in tests work Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Created attachment 120181 [details] [review] Bug 28210: Pass skip_record_index through LostItem This patch restores the skip_record_index optional parameter for LostItem and passes it through to MarkIssueReturned as required. Signed-off-by: Nick Clemens <nick@bywatersolutions.com> I added some data needed to make the tests pass, can you verify Martin? For testing this also requires applying the follow-ups on 24446 and 27281 While we remove/readd some code in the series I think it makes sense to remove it to fix the tests, then add it as it should have been here Pushed to master for 21.05, thanks to everybody involved! |