Owen Leonard
a90a72c62d
Several cataloging plugins make some simple AJAX GET calls via the YUI AJAX feature. This code can be easily converted to jQuery. To test, link each plugin to the relelvant field by editing your MARC stucture. Confirm that functionality is unchanged. For callnumber.pl and callnumber-KU.pl, test by linking to 952o. callnumber.pl is triggered on blur of (when you focus on and click away from) the 952o entry field. callnumber-KU.pl is triggered by clicking the "..." link. stocknumberam123.pl should be linked to 952i. If your data doesn't already have information stored for inventory number, modify at least one record to add one. The plugin is triggered on blur of the 952i field. It should increment the highest value inventory number stored in your system. unimarc_field_010.pl is UNIMARC-specific, so I'm guessing about its functionality. I tested it by linking the plugin to MARC21 field 020a. The plugin is triggered on blur of the affected field (020a in my test). You can confirm that the plugin returns valid data by using a tool like Firebug to view the XHR response. Or if you're not using UNIMARC you can hack the plugin to update a different field instead (line 57, /^tag_210_subfield_c/ ). I tried "245_subfield_c" instead of "210c_subfield_c." Nonsensical, but useful for testing. Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Tried the 3 MARC21 plugins. Did not try the Unimarc one, but it's exactly the same code change. Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> |
||
---|---|---|
.. | ||
barcode.pl | ||
barcode_manual.pl | ||
callnumber-KU.pl | ||
callnumber.pl | ||
dateaccessioned.pl | ||
labs_theses.pl | ||
macles.pl | ||
marc21_field_003.pl | ||
marc21_field_005.pl | ||
marc21_field_006.pl | ||
marc21_field_007.pl | ||
marc21_field_008.pl | ||
marc21_field_008_authorities.pl | ||
marc21_field_040c.pl | ||
marc21_field_040d.pl | ||
marc21_field_245h.pl | ||
marc21_leader.pl | ||
marc21_leader_authorities.pl | ||
marc21_leader_book.pl | ||
marc21_leader_computerfile.pl | ||
marc21_leader_video.pl | ||
marc21_linking_section.pl | ||
normarc_field_007.pl | ||
normarc_field_008.pl | ||
normarc_leader.pl | ||
stocknumber.pl | ||
stocknumberam123.pl | ||
stocknumberAV.pl | ||
unimarc_field_4XX.pl | ||
unimarc_field_010.pl | ||
unimarc_field_100.pl | ||
unimarc_field_105.pl | ||
unimarc_field_106.pl | ||
unimarc_field_110.pl | ||
unimarc_field_115a.pl | ||
unimarc_field_115b.pl | ||
unimarc_field_116.pl | ||
unimarc_field_117.pl | ||
unimarc_field_120.pl | ||
unimarc_field_121a.pl | ||
unimarc_field_121b.pl | ||
unimarc_field_122.pl | ||
unimarc_field_123a.pl | ||
unimarc_field_123d.pl | ||
unimarc_field_123e.pl | ||
unimarc_field_123f.pl | ||
unimarc_field_123g.pl | ||
unimarc_field_123i.pl | ||
unimarc_field_123j.pl | ||
unimarc_field_124.pl | ||
unimarc_field_124a.pl | ||
unimarc_field_124b.pl | ||
unimarc_field_124c.pl | ||
unimarc_field_124d.pl | ||
unimarc_field_124e.pl | ||
unimarc_field_124f.pl | ||
unimarc_field_124g.pl | ||
unimarc_field_125.pl | ||
unimarc_field_125a.pl | ||
unimarc_field_125b.pl | ||
unimarc_field_126.pl | ||
unimarc_field_126a.pl | ||
unimarc_field_126b.pl | ||
unimarc_field_127.pl | ||
unimarc_field_128a.pl | ||
unimarc_field_128b.pl | ||
unimarc_field_128c.pl | ||
unimarc_field_130.pl | ||
unimarc_field_135a.pl | ||
unimarc_field_140.pl | ||
unimarc_field_141.pl | ||
unimarc_field_210c.pl | ||
unimarc_field_210c_bis.pl | ||
unimarc_field_225a.pl | ||
unimarc_field_686a.pl | ||
unimarc_field_700-4.pl | ||
unimarc_leader.pl |