Skip to content
Snippets Groups Projects
Commit 20c9b47f authored by Frank Morgner's avatar Frank Morgner
Browse files

refs #13974

* adds third serviceLocator parameter at factory constructor to providing SolrAi with searches.ini settings
* bugfixin missing highlighting at AI records
parent 9c5cea1f
No related merge requests found
...@@ -20,3 +20,6 @@ relative_path = ../../../config/vufind/searches.ini ...@@ -20,3 +20,6 @@ relative_path = ../../../config/vufind/searches.ini
; ;
;##################### DO NOT DELETE THIS HEADER #################### ;##################### DO NOT DELETE THIS HEADER ####################
;#################################################################### ;####################################################################
[General]
highlighting = true
\ No newline at end of file
...@@ -140,7 +140,7 @@ class Factory ...@@ -140,7 +140,7 @@ class Factory
return new SolrAI( return new SolrAI(
$sm->getServiceLocator()->get('VuFind\Config')->get('config'), $sm->getServiceLocator()->get('VuFind\Config')->get('config'),
$sm->getServiceLocator()->get('VuFind\Config')->get('SolrAI'), $sm->getServiceLocator()->get('VuFind\Config')->get('SolrAI'),
null $sm->getServiceLocator()->get('VuFind\Config')->get('searches')
); );
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment