Bug 30430: (QA follow-up) Several fixes
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 30 Jun 2022 04:40:35 +0000 (18:40 -1000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Jul 2022 19:51:43 +0000 (16:51 -0300)
commitc925b3ff85be00f48c33ad13b20caaad616b251d
tree59c80b1a4e13c15be1d0cd0162ab6919d3adebd0
parent81dc7a1845e37f473bc9b6b581917d9fd7d3c278
Bug 30430: (QA follow-up) Several fixes

Several fixes :

- Replace tab with spaces

tag_210 :
- Class 'value' and not 'valeur'
- Loop on subfields must restrict to abcdg otherwise last() may not be
  correct (ie 214r and 214s)

tag_214 :
- Condition for coma after b should be same as after a : "position() != last()"

tag_210 and tag_214 :
- Space before ':' like in other fields
- ':' before c or g does not exist in opac, removed from intranet file
- Search links in intranet fixed (where composed with opac-search ^^)
- Search links using 'str:encode-uri' like other places
- Simplify title attribute with only 'Search for publisher' => Bad idea
  to use double quotes in a text

tag_214_s and tag_214_r :
- Loop on field+subfield otherwise last() may not be correct

I've fixed intranet and copied to OPAC (only adapted search links)

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl