From c375163e8f8553a71563aae974b6aa466895e7ba Mon Sep 17 00:00:00 2001
From: Robert Lange <robert.lange@uni-leipzig.de>
Date: Fri, 15 May 2020 14:34:06 +0200
Subject: [PATCH] refs #17395 [fid_bbi] add mega collections to sources
 whitelist

* De Gruyter Journals / Social Sciences and Humanities
* Gutenberg-Bibliothek des Gutenberg-Museums Mainz
* Bibliographie zum Archivwesen der Archivschule Marburg
* HeBIS Verbundkatalog
* SearchController: remove unused imports
* rename DABI to DABI Datenbank Deutsches Bibliothekswesen
---
 fid_bbi/config/vufind/facets.ini                    | 13 +++++++++++--
 .../src/fid_bbi/Controller/SearchController.php     |  2 --
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/fid_bbi/config/vufind/facets.ini b/fid_bbi/config/vufind/facets.ini
index 9cc1bbc1b8d..6a8c49c03b2 100644
--- a/fid_bbi/config/vufind/facets.ini
+++ b/fid_bbi/config/vufind/facets.ini
@@ -91,7 +91,6 @@ mega_collection[] = "Eighteenth Century Collections Online / ECCO"
 mega_collection[] = "Gallica (BNF)"
 mega_collection[] = "Qucosa"
 mega_collection[] = "Hathi Trust"
-;mega_collection[] = "OLC SSG Informations-, Buch- und Bibliothekswesen"
 mega_collection[] = "Morgan & Claypool eBooks (CIS 5, 2013-2014)"
 mega_collection[] = "MedienwRezensionen"
 ;mega_collection[] = "Torrossa / Periodici"
@@ -110,7 +109,7 @@ mega_collection[] = "VD18"
 ;mega_collection[] = "Datenbank Buch und Papier"
 mega_collection[] = "Datenbank \"Buch und Papier\""
 mega_collection[] = "HPB - Heritage of the Printed Book Database"
-mega_collection[] = "DABI"
+mega_collection[] = "DABI Datenbank Deutsches Bibliothekswesen"
 mega_collection[] = "English Short Title Catalogue (ESTC)"
 mega_collection[] = "Incunabula Short Title Catalogue (ISTC)"
 mega_collection[] = "Catalogue of Illuminated Manuscripts"
@@ -152,6 +151,16 @@ mega_collection[] = "TIB AV-Portal"
 mega_collection[] = "Olms Online"
 mega_collection[] = "British Library Bibliography"
 
+; #17395
+;source_id[] = 50
+mega_collection[] = "De Gruyter Journals / Social Sciences and Humanities"
+;source_id[] = 182
+mega_collection[] = "Gutenberg-Bibliothek des Gutenberg-Museums Mainz"
+;source_id[] = 182
+mega_collection[] = "Bibliographie zum Archivwesen der Archivschule Marburg"
+;source_id[] = 193
+mega_collection[] = "HeBIS Verbundkatalog"
+
 ; The following five mega_collections are all part of sid:159
 ; but there is no mega_collection entry in SOLR for those
 ;mega_collection[] = "Abendländische mittelalterliche Handschriften"
diff --git a/module/fid_bbi/src/fid_bbi/Controller/SearchController.php b/module/fid_bbi/src/fid_bbi/Controller/SearchController.php
index 72a575f887f..8368696979a 100644
--- a/module/fid_bbi/src/fid_bbi/Controller/SearchController.php
+++ b/module/fid_bbi/src/fid_bbi/Controller/SearchController.php
@@ -28,8 +28,6 @@
 namespace fid_bbi\Controller;
 
 use VuFind\Controller\SearchController as BaseSearchController;
-use Zend\Cache\Storage\Adapter\Filesystem;
-use Zend\ServiceManager\ServiceLocatorInterface;
 
 /**
  * Redirects the user to the appropriate default VuFind action.
-- 
GitLab