From 96c80f1a857eab7a94dad470571aa44cf5f6d596 Mon Sep 17 00:00:00 2001
From: Gregor Gawol <gawol@ub.uni-leipzig.de>
Date: Fri, 25 Oct 2019 09:34:49 +0200
Subject: [PATCH] refs #16296 * fixed config bug * fixed bug to register new
 lightbox network notice * new boss module version ** added network notice

---
 composer.json                                         | 2 +-
 composer.lock                                         | 8 ++++----
 fid_adlr/config/vufind/boss.ini                       | 2 +-
 themes/fid_adlr/scss/compiled.scss                    | 6 ++++++
 themes/fid_adlr/templates/RecordTab/holdingsils.phtml | 2 ++
 5 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/composer.json b/composer.json
index 5b0a2d9a568..328733a8f3b 100644
--- a/composer.json
+++ b/composer.json
@@ -88,7 +88,7 @@
         "phpdocumentor/reflection-docblock": "^4.3",
         "zendframework/zend-i18n-resources": "^2.6",
         "finc/worldcat-search-module": "^0.0.4",
-        "finc/boss-module": "^0.0.4"
+        "finc/boss-module": "^0.0.5"
     },
     "require-dev": {
         "behat/mink": "1.7.1",
diff --git a/composer.lock b/composer.lock
index 5251606c97a..ac778403aff 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "70b5b3404a3753e5d75f84600cafe37d",
+    "content-hash": "c6025021ec49b9c23100d395b125c679",
     "packages": [
         {
             "name": "ahand/mobileesp",
@@ -507,11 +507,11 @@
         },
         {
             "name": "finc/boss-module",
-            "version": "v0.0.4",
+            "version": "v0.0.5",
             "source": {
                 "type": "git",
                 "url": "https://git.sc.uni-leipzig.de/ubl/finc/fid/boss-module.git",
-                "reference": "678eb2b0025b512e01b1ac8cc4f0629a2409aced"
+                "reference": "657789832ff9c5ef0fd050f48bd64a17ca26a747"
             },
             "require": {
                 "ext-json": "*",
@@ -546,7 +546,7 @@
                 }
             ],
             "description": "Module for BOSS Webservice",
-            "time": "2019-10-23T12:18:39+00:00"
+            "time": "2019-10-25T07:19:45+00:00"
         },
         {
             "name": "finc/dbis-module",
diff --git a/fid_adlr/config/vufind/boss.ini b/fid_adlr/config/vufind/boss.ini
index dba21da7d9b..b8b2cfe50fe 100644
--- a/fid_adlr/config/vufind/boss.ini
+++ b/fid_adlr/config/vufind/boss.ini
@@ -28,7 +28,7 @@ networks[] = hebis
 networks[] = hbz
 networks[] = kobv
 addNetworks[] = öbv
-addNetworks[] = swiss
+addNetworks[] = swissbib
 
 [SearchUrls]
 swb = "http://swb.bsz-bw.de/DB=2.1/SET=1/TTL=1/CMD?ACT=SRCHA&IKT=1007&TRM=%s"
diff --git a/themes/fid_adlr/scss/compiled.scss b/themes/fid_adlr/scss/compiled.scss
index 024d601a5fc..47ba8e3c038 100644
--- a/themes/fid_adlr/scss/compiled.scss
+++ b/themes/fid_adlr/scss/compiled.scss
@@ -2320,4 +2320,10 @@ footer {
   padding: 15px;
 }
 
+// Boss-Module
+.boss-networknotice {
+  @include result-list-border($black);
+  padding: 12px;
+}
+
 @import 'customForms';
\ No newline at end of file
diff --git a/themes/fid_adlr/templates/RecordTab/holdingsils.phtml b/themes/fid_adlr/templates/RecordTab/holdingsils.phtml
index aea11594334..8a51dde9b01 100644
--- a/themes/fid_adlr/templates/RecordTab/holdingsils.phtml
+++ b/themes/fid_adlr/templates/RecordTab/holdingsils.phtml
@@ -77,6 +77,8 @@
         data: {id: recordId, source: recordSource}
       }).done(function(response) {
           $('.boss-data').html(response.data.html);
+          // Use to register new lightbox window networknotice
+          VuFind.lightbox.bind();
       });
     });
 JS;
-- 
GitLab