do not show new search tab for lucene based search

This commit is contained in:
Uwe Steinmann 2023-04-26 06:44:59 +02:00
parent 03aa307fa3
commit 6e1ce682f2

View File

@ -394,6 +394,7 @@ $(document).ready(function() {
function show() { /* {{{ */ function show() { /* {{{ */
$dms = $this->params['dms']; $dms = $this->params['dms'];
$user = $this->params['user']; $user = $this->params['user'];
$settings = $this->params['settings'];
$request = $this->params['request']; $request = $this->params['request'];
$fullsearch = $this->params['fullsearch']; $fullsearch = $this->params['fullsearch'];
$facetsearch = $this->params['facetsearch']; $facetsearch = $this->params['facetsearch'];
@ -407,7 +408,7 @@ $(document).ready(function() {
$resultmode = $this->params['resultmode']; $resultmode = $this->params['resultmode'];
$workflowmode = $this->params['workflowmode']; $workflowmode = $this->params['workflowmode'];
$enablefullsearch = $this->params['enablefullsearch']; $enablefullsearch = $this->params['enablefullsearch'];
$enablefacetsearch = true; $enablefacetsearch = ($settings->_fullSearchEngine != 'lucene');
$enableclipboard = $this->params['enableclipboard']; $enableclipboard = $this->params['enableclipboard'];
$attributes = $this->params['attributes']; $attributes = $this->params['attributes'];
$categories = $this->params['categories']; $categories = $this->params['categories'];