]> git.koha-community.org Git - koha.git/commit
Bug 21716: Escape publisher in item search
authorLiz Rea <wizzyrea@gmail.com>
Thu, 25 Apr 2019 15:34:36 +0000 (15:34 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 9 Aug 2019 12:48:38 +0000 (14:48 +0200)
commitee9032d625d118f4ccdae881a49f393d8217ef86
tree7aab69bd68ef428d0fb4dbb8a87e6285789ac9d4
parent983dd03efafc271a01f89603937c0b3af0c84510
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>
(cherry picked from commit fbeb22802f41f8daf99498303146d1916c851507)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc