handling 008 in marc21
Hello, in marc21 the helper for the 008 field uses different labels depending on the type of resource selected. But since the data from the leader is in a different window, this helper is always set to "books" by default, event if the leader says differently. Has someone made a javascript before to go fetch the value from the 001 in the parent window and change the dropdown accordingly? I haven't found anything like this in the jquery library, and haven't been able to work it out myself so far. Or is there some set up to be done elsewhere that i am not aware of? Thanks! -- Gaetan Boisson Chef de projet bibliothécaire BibLibre 06 52 42 51 29 108 avenue Breteuil 13006 Marseille gaetan.boisson@biblibre.com
Hi Gaetan, this was fixed with Bug 9093[1], is not working for you? just tried on master and it still works (e.g. set LEADER/6 to j - Musical sound recording, save, then press 008 plugin end you get type of material MU - Music) Bernardo [1] http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9093 -- Bernardo Gonzalez Kriegel bgkriegel@gmail.com On Thu, Jun 25, 2015 at 11:16 AM, Gaetan Boisson < gaetan.boisson@biblibre.com> wrote:
Hello,
in marc21 the helper for the 008 field uses different labels depending on the type of resource selected. But since the data from the leader is in a different window, this helper is always set to "books" by default, event if the leader says differently. Has someone made a javascript before to go fetch the value from the 001 in the parent window and change the dropdown accordingly? I haven't found anything like this in the jquery library, and haven't been able to work it out myself so far.
Or is there some set up to be done elsewhere that i am not aware of?
Thanks!
-- Gaetan Boisson Chef de projet bibliothécaire BibLibre 06 52 42 51 29 108 avenue Breteuil 13006 Marseille gaetan.boisson@biblibre.com
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Thanks Bernardo! indeed, this library is about to get an update but they are still using 3.14, hence the reason why it wasn't working! Le 25/06/2015 17:34, Bernardo Gonzalez Kriegel a écrit :
Hi Gaetan,
this was fixed with Bug 9093[1], is not working for you? just tried on master and it still works (e.g. set LEADER/6 to j - Musical sound recording, save, then press 008 plugin end you get type of material MU - Music)
Bernardo
[1] http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9093
-- Bernardo Gonzalez Kriegel bgkriegel@gmail.com <mailto:bgkriegel@gmail.com>
On Thu, Jun 25, 2015 at 11:16 AM, Gaetan Boisson <gaetan.boisson@biblibre.com <mailto:gaetan.boisson@biblibre.com>> wrote:
Hello,
in marc21 the helper for the 008 field uses different labels depending on the type of resource selected. But since the data from the leader is in a different window, this helper is always set to "books" by default, event if the leader says differently. Has someone made a javascript before to go fetch the value from the 001 in the parent window and change the dropdown accordingly? I haven't found anything like this in the jquery library, and haven't been able to work it out myself so far.
Or is there some set up to be done elsewhere that i am not aware of?
Thanks!
-- Gaetan Boisson Chef de projet bibliothécaire BibLibre 06 52 42 51 29 108 avenue Breteuil 13006 Marseille gaetan.boisson@biblibre.com <mailto:gaetan.boisson@biblibre.com>
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz <mailto:Koha@lists.katipo.co.nz> https://lists.katipo.co.nz/mailman/listinfo/koha
-- Gaetan Boisson Chef de projet bibliothécaire BibLibre 06 52 42 51 29 108 avenue Breteuil 13006 Marseille gaetan.boisson@biblibre.com
participants (2)
-
Bernardo Gonzalez Kriegel -
Gaetan Boisson