Bug 21666: Replace unsupported use attribute with more widely supported attribute
authorDavid Cook <dcook@prosentient.com.au>
Thu, 25 Oct 2018 23:52:45 +0000 (10:52 +1100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 16 Nov 2018 12:54:09 +0000 (12:54 +0000)
commit8a166e2e294d193b3784bd0d7b031af54d2a8ff9
treed14fc841c0a702d4f5a55c05727a0bec1f873f50
parent805ffe0e635b75b16081fd24ef729ed9c838d667
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>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit a08e72c5e72ebbd17cc088584d097ecfa6b1e4d2)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/lib/koha/cateditor/search.js