From 919f3bb1d16cca586299e745ce6bfdeeee9b8c98 Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Mon, 13 May 2013 14:19:06 -0400 Subject: [PATCH] LP1179614 - fix Export All Records action In the record buckets, the button for 'Export All Records' would work up to the point where you chose where to save the file. After clicking where to save, it would not show any saved files or prompts indicating it completed the export process. This fix changes the location of where to find the export tool and properly exports the bibs as the file format selected. Signed-off-by: Ben Shum Signed-off-by: Galen Charlton --- Open-ILS/xul/staff_client/server/cat/record_buckets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/record_buckets.js b/Open-ILS/xul/staff_client/server/cat/record_buckets.js index 1f40446fa5..393d55a05d 100644 --- a/Open-ILS/xul/staff_client/server/cat/record_buckets.js +++ b/Open-ILS/xul/staff_client/server/cat/record_buckets.js @@ -63,7 +63,7 @@ cat.record_buckets.export_records = function(obj, output_type) { var persist = Components.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"] .createInstance(Components.interfaces.nsIWebBrowserPersist); - var proto_uri = 'https://' + window.location.hostname + '/exporter?format=' + output_type + '&ses=' + ses(); + var proto_uri = 'oils://remote/exporter?format=' + output_type + '&ses=' + ses(); dump('Record Export URI is ' + proto_uri + '&id=' + record_ids.join('&id=') + '\n'); -- 2.43.2