Main Koha release repository https://koha-community.org
Find a file
Jonathan Druart 71aaf8b458 Bug 27178: Add 'str' namespace to exclude-result-prefixes
Some nodes in the generated HTML document contain the 'str' namespace.
For instance, at the OPAC on the search result list, you can see:
<a xmlns:str="http://exslt.org/strings" href="/cgi-bin/koha/opac-detail.pl?biblionumber=18566&amp;query_desc=kw%2Cwrdl%3A%20spin" class="title">

The solution is to add 'str' to exclude-result-prefixes.
From https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/stylesheet
"""
Specifies any namespace used in this document that should not be sent to the output document. The list is whitespace separated.
"""

Test plan:
0. Don't apply this patch
1. Launch a search at the OPAC
2. Inspect the title link for the records
=> Note the 'xmlns:str' attribute on tag "a"
3. Apply this patch
4. restart_all
5. Repeat 1. and 2.
=> Note that the attribute is gone now.

QA will check that no other occurrences is missing (note that one
NORMARC xsl is missing it, but NORMARC is deprecated)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-01-04 13:30:03 +01:00
acqui
admin Bug 27043: Add to number_of_replicas and number_of_shards to index config 2021-01-04 13:29:51 +01:00
api Bug 27117: Only place_holds permission is needed to adjust pickup locations 2020-12-21 10:07:49 +01:00
authorities
basket
bin
C4 Bug 27196: Don't explode if item that is waiting if checked in by SIP 2020-12-26 17:58:40 +01:00
catalogue Bug 23475: Use localStorage to preserve simple search values 2020-11-30 11:14:58 +01:00
cataloguing
circ
clubs
course_reserves Bug 25898: Fix new occurrences 2020-10-15 13:56:41 +02:00
debian Bug 14564: Set permissions on configuration backups 2020-12-21 10:09:44 +01:00
docs
errors
etc
ill Bug 22818: Add generation and sending of notices 2020-11-11 08:35:10 +01:00
installer Bug 24658: (bug 22008 follow-up) Correct update DB entry 18.12.00.031 2020-12-09 11:08:20 +01:00
Koha Bug 26171: (QA follow-up) Add table name and object type to message 2021-01-04 13:29:50 +01:00
koha-tmpl Bug 27178: Add 'str' namespace to exclude-result-prefixes 2021-01-04 13:30:03 +01:00
labels
members
misc Bug 26996: Convert Elasticsearch indexer commit buffer size to integer 2021-01-04 13:29:55 +01:00
offline_circ
opac Bug 27230: Display OPAC description for OPAC_SUG 2020-12-26 18:14:11 +01:00
patron_lists
patroncards
plugins
pos Bug 24786: Update point of sale to use session register 2020-11-06 15:39:59 +01:00
reports
reserve
reviews
rotating_collections
serials Bug 26992: Fix serial issue and related items deletion on serial collection page 2020-11-20 08:16:02 +01:00
services
skel
suggestion
svc Bug 26976: Display 0 if renewalsallowed is not defined 2020-12-04 15:32:56 +01:00
t Bug 26171: (QA follow-up) Add table name and object type to message 2021-01-04 13:29:50 +01:00
tags
tmp/modified_authorities
tools Bug 26854: Remove log of STDERR 2020-11-20 08:16:02 +01:00
virtualshelves Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
xt
.editorconfig
.eslintrc.json
.gitignore
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap
.perlcriticrc Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
.scss-lint.yml
about.pl
app.psgi
changelanguage.pl
cpanfile Bug 26849: Fix Array::Utils dependency in cpanfile 2020-12-21 10:07:55 +01:00
fix-perl-path.PL Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
gulpfile.js
help.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
INSTALL Bug 26617: Update INSTALL file to include koha-testing-docker and Gitlab links 2020-10-15 12:56:30 +02:00
Koha.pm
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json
README Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
README.md
README.robots
rewrite-config.PL Bug 26290: Make Makefile.PL aware of SMTP configs 2020-10-02 15:27:18 +02:00
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo