[Koha-bugs] [Bug 19220] Allow XSLT processing for Z39.50 authority targets like for bibliographic targets

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 13 11:14:50 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19220

Filippos Kolovos <f.kolovos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |f.kolovos at gmail.com

--- Comment #9 from Filippos Kolovos <f.kolovos at gmail.com> ---
Dear Katrin,

Matthias is right. I just tested it and it does work. 

What I have noticed, is that for bibliographic records, the import script
re-transforms the output XML EVERY time (even if the record is cached from a
previous search).

For authority records, it prefers to fetch the cached version, as is, from the
with the last transformation made (or not made if you didn't specify a custom
XSLT).

So, you have to run the cleanup_database.pl tool like this (assuming that you
have a package installation):

koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl
--confirm --z3950

in order to clear the cached entries from z3950 searches. Otherwise you will
always see the last result. I tested it and if I did not run the cleanup tool,
the XSL didn't do anything. After I ran it, everytime I had the "XSL-updated"
results.

Even if you remove the custom XSL from the Z3950 AUTH SERVER setting, then you
have to rerun the script for it to work, otherwise it will still display the
"XSL-updated" results from your previous queries.

I hope that this helps you,

-Fk

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list