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>
This commit is contained in:
parent
c1fe033a11
commit
fbeb22802f
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
[%- USE Branches -%]
|
||||
[%- USE Koha -%]
|
||||
[%- USE To -%]
|
||||
[%- USE ItemTypes -%]
|
||||
[% USE AuthorisedValues %]
|
||||
[%- biblio = item.biblio -%]
|
||||
|
@ -9,7 +10,7 @@
|
|||
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]" title="Go to record detail page">[% biblio.title | html %]</a>[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author | html %]
|
||||
[%~ END %]",
|
||||
"[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]",
|
||||
"[% biblioitem.publishercode | html %]",
|
||||
"[% biblioitem.publishercode | html | $To %]",
|
||||
"[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %]",
|
||||
"[% FILTER escape_quotes ~%]
|
||||
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | uri %]#item[% item.itemnumber | uri %]" title="Go to item details">[% item.barcode | html %]</a>
|
||||
|
|
Loading…
Reference in a new issue