From 7eb1d4f2cc6a3a30517f28a8bc9f4f0c1e411b45 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Tue, 7 Jun 2011 13:45:55 -0400 Subject: [PATCH] Correct error in call number owning library change Send IDs to the backend, not objects. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge --- Open-ILS/xul/staff_client/server/cat/copy_editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.js b/Open-ILS/xul/staff_client/server/cat/copy_editor.js index 0602c09b33..5512b369aa 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -556,7 +556,7 @@ g.apply_owning_lib = function(ou_id) { var old_volume = g.map_acn[copy.call_number()]; var acn_blob = g.network.simple_request( 'FM_ACN_FIND_OR_CREATE', - [ses(),old_volume.label(),old_volume.record(),ou_id,old_volume.prefix(),old_volume.suffix(),old_volume.label_class()] + [ses(),old_volume.label(),old_volume.record(),ou_id,old_volume.prefix().id(),old_volume.suffix().id(),old_volume.label_class().id()] ); if (typeof acn_blob.ilsevent != 'undefined') { g.error.standard_unexpected_error_alert($('catStrings').getFormattedString('staff.cat.copy_editor.apply_owning_lib.call_number.error', [copy.barcode()]), acn_blob); -- 2.43.2