Bug 28192

Summary: Archived credit/debit types should be filtered by default
Product: Koha Reporter: Martin Renvoize <martin.renvoize>
Component: Architecture, internals, and plumbingAssignee: Isobel Graham <isobel.graham09>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: isobel.graham09
Version: MainKeywords: Academy
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 13985    
Bug Blocks:    

Description Martin Renvoize 2021-04-22 12:17:12 UTC
The `search` method in Koha::DebitTypes and Koha::CreditTypes should apply a filter to remove archived types by default. Archived types should only be included if explicitly asked for.