[Koha-bugs] [Bug 8609] Add an URL validation plugin for authority and biblio frameworks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 16 18:38:48 CET 2016


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

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |In Discussion

--- Comment #22 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
(In reply to Rémi Mayrand-Provencher from comment #19)

Hi Rémi and others

I applied the patch and works as expected.

You're right about my previous comment 15:

> 
> Could be great if you include changes in SQL frameworks for fresh
> installations and update database
> <http://wiki.koha-community.org/wiki/Database_updates> for frameworks
> already installed.
>

856$u in marc_subfield_structure can share this plugin and upload.pl plugin
(bug 6874)

But also we can leave one of them by default, changing this:

installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql

> ('856', 'u', 'Uniform Resource Identifier', 'Uniform Resource Identifier', 1, 0, 'biblioitems.url', 8, '', '', 'url.pl', 1, 0, '', '', '', NULL),

AND installer/data/mysql/atomicupdate/bug_8609_mychange.sql
>-- add url.pl to value_builder for marc_subfield_structure in 856$u
>UPDATE marc_subfield_structure SET value_builder='url.pl' WHERE tagfield='856' and tagsubfield='u';

Please give me a positive feedback


Regads

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


More information about the Koha-bugs mailing list