Koha/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing
Fridolin Somers c4095f55ad Bug 13129 - HTML and JS escapes missing in unimarc_field_4XX.tt
This patch adds JS and HTML espaces are it is missing.
Replaces calls to url filter by uri filter, url filter does not espace
enough characters: http://template-toolkit.org/docs/manual/Filters.html#section_url.

Also corrects the fact the code: resul.size => resul.item('size').
Old code returns the size of the loop instead of the value of "size" field.

Test plan :
 - Use the plugin unimarc_field_4XX
 - Perform a search with a ? or &
=> Search works
 - Perform a search that returns a record with a double quote in title
 - Choose this record
=> Plugin works
 - Check the results displays well the value of biblioitems.size

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests and QA script, I fixed some tabs.
Tested in a UNIMARC  installation.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-10-28 10:51:49 -03:00
..
value_builder Bug 13129 - HTML and JS escapes missing in unimarc_field_4XX.tt 2014-10-28 10:51:49 -03:00
addbiblio.tt Bug 6536: QA Follow-up for string changes referring to Z39.50 2014-09-01 10:09:14 -03:00
addbooks.tt Bug 13062 - Cataloging search no longer passes search terms to z39.50 search 2014-10-15 18:08:40 -03:00
additem.tt Revert "Bug 12176 - Remove HTML from additem.pl" 2014-08-27 08:24:44 -03:00
linkitem.tt
merge.tt Bug 11905 - when editing item, cursor is positioning in search box and not to item 2014-07-30 11:57:31 -03:00
moveitem.tt
z3950_auth_search.tt Bug 6536: Adjustments for servername and servertype 2014-09-01 10:09:05 -03:00
z3950_search.tt Bug 12765: Fix capitalization - "Try another search" 2014-09-08 10:49:31 -03:00