Bug 37590 - Allow requesting circulation rule sets using wildcards
Summary: Allow requesting circulation rule sets using wildcards
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Martin Renvoize
QA Contact: Testopia
URL:
Keywords:
Depends on: 36641
Blocks:
  Show dependency treegraph
 
Reported: 2024-08-07 11:38 UTC by Martin Renvoize
Modified: 2024-08-07 11:38 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize 2024-08-07 11:38:14 UTC
The API added for fetching circulation rules in bug 36641 allows for limiting which rules you wish to have returned by passing a comma delimited list of rules names in the ?rules= param.

We could enhance this to allow for wildcards and open up the opportunity for returning sets of related rules based on a common prefix in the rule name.

For example..

`?rules=recalls_*,overdue*` would return all recalls_ and overdue rules without having to specify each of them individually in the query.