Bug 21716: Escape publisher in item search
authorLiz Rea <wizzyrea@gmail.com>
Thu, 25 Apr 2019 15:34:36 +0000 (15:34 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 26 Jul 2019 15:14:31 +0000 (16:14 +0100)
commitfbeb22802f41f8daf99498303146d1916c851507
tree991b04d57ad41fd40dfd8a3df7a4f1fc9f8b419e
parentc1fe033a116c23192a8ed5ba31924f1f4e032812
Bug 21716: Escape publisher in item search

To prevent endless processing errors.

To test:

* create a biblio with a publisher with a backslash - i.e. 260$b with
graham\lineham
* do an item search that will include that title in the results
* wait forever, because it won't work.
* apply this patch
* repeat steps, notice that you
    a. get results
    b. your result is listed with it's correct publisher
* rejoice

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc