Bugzilla – Attachment 181293 Details for
Bug 39303
Add audience index to SRU
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39303: Add audience index to SRU
Bug-39303-Add-audience-index-to-SRU.patch (text/plain), 1.36 KB, created by
Martin Renvoize (ashimema)
on 2025-04-22 15:32:53 UTC
(
hide
)
Description:
Bug 39303: Add audience index to SRU
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-04-22 15:32:53 UTC
Size:
1.36 KB
patch
obsolete
>From fc4e14c85b11c5cbeaa9df7eeb41b1368298b48d Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 11 Mar 2025 12:03:10 +0000 >Subject: [PATCH] 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> >--- > etc/z3950/pqf.properties | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/etc/z3950/pqf.properties b/etc/z3950/pqf.properties >index ebb2ff1f34a..02abe4f9ec8 100644 >--- a/etc/z3950/pqf.properties >+++ b/etc/z3950/pqf.properties >@@ -180,3 +180,4 @@ index.koha.location = 1=8013 > index.koha.barcode = 1=8023 > index.koha.onloan = 1=8024 > index.koha.itemtype = 1=8031 >+index.koha.audience = 1=8822 >-- >2.49.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39303
:
179162
|
180347
| 181293