Bugzilla – Attachment 81533 Details for
Bug 21666
Advanced editor search- error is given for 'Unsupported Use attribute' when searching on title + author
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21666: Replace unsupported use attribute with more widely supported attribute
Bug-21666-Replace-unsupported-use-attribute-with-m.patch (text/plain), 1.54 KB, created by
Katrin Fischer
on 2018-10-29 19:51:00 UTC
(
hide
)
Description:
Bug 21666: Replace unsupported use attribute with more widely supported attribute
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-10-29 19:51:00 UTC
Size:
1.54 KB
patch
obsolete
>From 10f176dc713a33861c40040aa9bd5a271de873f2 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 26 Oct 2018 10:52:45 +1100 >Subject: [PATCH] Bug 21666: Replace unsupported use attribute with more widely > supported attribute > >search.js uses the 1=1004 >author personal attribute which isn't supported by libraries like >Seattle Public Library. > >This patch aligns search.js >with C4/Breeding.pm which uses the more widely supported 1=1003 >author attribute. > >To test: >1. Set up Seattle Public Library as a Z39.50 target >2. Try to search author using the Advanced Editor advanced search >3. Observe failure >4. Apply the patch >5. Try to search again >6. Observe successful retrieval of records > >Signed-off-by: Cori Lynn Arnold <carnold@dgiinc.com> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/lib/koha/cateditor/search.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/search.js b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/search.js >index 0ace7adc50..f73d0292c1 100644 >--- a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/search.js >+++ b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/search.js >@@ -23,7 +23,7 @@ define( [ 'koha-backend', 'marc-record' ], function( KohaBackend, MARC ) { > var _last; > > var _pqfMapping = { >- author: '1=1004', // s=al', >+ author: '1=1003', // s=al', > cn_dewey: '1=13', > cn_lc: '1=16', > date: '1=30', // r=r', >-- >2.11.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 21666
:
81168
|
81249
|
81250
|
81502
|
81532
| 81533