From 68ceb66fce739ac5059c93fd4f5e139f2a614a86 Mon Sep 17 00:00:00 2001
From: Jason Boyer <jboyer@library.in.gov>
Date: Wed, 16 Jan 2019 12:03:16 -0500
Subject: [PATCH] LP1805856: Open new windows for record operations

This branch changes the call from $window.location.open
to match other others ($window.open). Testing the 2 z39.50
changes worked as expected!

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
---
 Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js b/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js
index 59a2facaa3..aebfb25165 100644
--- a/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js
+++ b/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js
@@ -699,7 +699,7 @@ function($scope,  $q , $routeParams,  bucketSvc,  egCore,  $window,
                     args.lead_id,
                     args.records.map(function(val) { return val.id; })
                 ).then(function() {
-                    $window.location.open(egCore.env.basePath + 'cat/catalog/record/' + args.lead_id);
+                    $window.open(egCore.env.basePath + 'cat/catalog/record/' + args.lead_id);
                 });
             });
         });
-- 
2.11.0