Bug 6959: can't import record via Z39.50 from MARC edit page
JS to call Z39.50 popup wasn't updated to reflect the change ID values, so the frameworkcode passed was
"undefined" instead of "Default"
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit f56dc79754)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
c8651c3789
commit
e131d2eebc
|
|
@ -238,7 +238,7 @@ function AreMandatoriesNotOk(){
|
|||
* check if z3950 mandatories are set or not
|
||||
*/
|
||||
function GetZ3950Terms(){
|
||||
var strQuery="&frameworkcode="+document.forms['f'].frameworkcode.value;
|
||||
var strQuery="&frameworkcode="+document.forms['f'].Frameworks.value;
|
||||
var mandatories = new Array();
|
||||
var mandatories_label = new Array();
|
||||
[% FOREACH BIG_LOO IN BIG_LOOP %][% FOREACH innerloo IN BIG_LOO.innerloop %][% FOREACH subfield_loo IN innerloo.subfield_loop %][% IF ( subfield_loo.z3950_mandatory ) %]mandatories.push("[% subfield_loo.id %]");
|
||||
|
|
|
|||
Loading…
Reference in New Issue