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 main --- | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | m.de.rooy, martin.renvoize |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: |
25.05.00
|
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! |