| Summary: | Add audience index to SRU | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
| Component: | Z39.50 / SRU / OpenSearch Servers | Assignee: | Nick Clemens (kidclamp) <nick> |
| Status: | Pushed to stable --- | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | fridolin.somers, m.de.rooy, martin.renvoize |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: |
25.05.00,24.11.08
|
|
| Circulation function: | |||
| Bug Depends on: | 8280 | ||
| Bug Blocks: | |||
| Attachments: |
Bug 39303: Add audience index to SRU
Bug 39303: Add audience index to SRU Bug 39303: Add audience index to SRU |
||
|
Description
Nick Clemens (kidclamp)
2025-03-11 12:03:41 UTC
Created attachment 179162 [details] [review] Bug 39303: Add audience index to SRU This patch adds a 'koha.audience' entry to the pqf properties for searching To test: 1 - curl -XGET "http://localhost:2100/biblios?version=1.1&operation=searchRetrieve&query=ta=a&maximumRecords=60&recordSchema=marcxml" 2 - Unsupported index 3 - Apply patch 4 - cp etc/z3950/pqf.properties /etc/koha/sites/kohadev/z3950/pqf.properties 5 - sudo koha-z3950-responder --restart kohadev (or restart_all) 6 - Test a search: curl -XGET "http://localhost:2100/biblios?version=1.1&operation=searchRetrieve&query=koha.audience=a&maximumRecords=60&recordSchema=marcxml" 7 - Results! Created attachment 180347 [details] [review] Bug 39303: Add audience index to SRU This patch adds a 'koha.audience' entry to the pqf properties for searching To test: 1 - curl -XGET "http://localhost:2100/biblios?version=1.1&operation=searchRetrieve&query=ta=a&maximumRecords=60&recordSchema=marcxml" 2 - Unsupported index 3 - Apply patch 4 - cp etc/z3950/pqf.properties /etc/koha/sites/kohadev/z3950/pqf.properties 5 - sudo koha-z3950-responder --restart kohadev (or restart_all) 6 - Test a search: curl -XGET "http://localhost:2100/biblios?version=1.1&operation=searchRetrieve&query=koha.audience=a&maximumRecords=60&recordSchema=marcxml" 7 - Results! Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Created attachment 181293 [details] [review] Bug 39303: Add audience index to SRU This patch adds a 'koha.audience' entry to the pqf properties for searching To test: 1 - curl -XGET "http://localhost:2100/biblios?version=1.1&operation=searchRetrieve&query=ta=a&maximumRecords=60&recordSchema=marcxml" 2 - Unsupported index 3 - Apply patch 4 - cp etc/z3950/pqf.properties /etc/koha/sites/kohadev/z3950/pqf.properties 5 - sudo koha-z3950-responder --restart kohadev (or restart_all) 6 - Test a search: curl -XGET "http://localhost:2100/biblios?version=1.1&operation=searchRetrieve&query=koha.audience=a&maximumRecords=60&recordSchema=marcxml" 7 - Results! Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Trivial QA.. Passing Pushed for 25.05! Well done everyone, thank you! Small enhancement, Pushed to 24.11.x for 24.11.08 |