marcxml to brn
[Evergreen.git] / Open-ILS / xul / staff_client / server / cat / z3950.js
index 7886e29..65c7774 100644 (file)
@@ -111,9 +111,14 @@ cat.z3950.prototype = {
                                                        ['command'],
                                                        function() {
                                                                obj.spawn_marc_editor(
-                                                                       obj.results.records[
-                                                                               obj.controller.view.marc_import.getAttribute('retrieve_id')
-                                                                       ].brn
+                                                                       obj.network.simple_request(
+                                                                               'FM_BRN_FROM_MARCXML',
+                                                                               [
+                                                                                       obj.results.records[
+                                                                                               obj.controller.view.marc_import.getAttribute('retrieve_id')
+                                                                                       ].marcxml
+                                                                               ]
+                                                                       )
                                                                );
                                                        },
                                                ],