use preview image width from settings

This commit is contained in:
Uwe Steinmann 2014-04-10 21:38:33 +02:00
parent 901daf3a1a
commit c550d7f11d
2 changed files with 2 additions and 2 deletions

View File

@ -444,6 +444,7 @@ if(count($entries) == 1 && ($resArr['totalDocs'] + $resArr['totalFolders']) == 1
$view->setParam('allusers', $allUsers);
$view->setParam('workflowmode', $settings->_workflowMode);
$view->setParam('enablefullsearch', $settings->_enableFullSearch);
$view->setParam('previewWidthList', $settings->_previewWidthList);
$view->show();
exit;
}

View File

@ -78,8 +78,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
$urlparams = $this->params['urlparams'];
$searchin = $this->params['searchin'];
$cachedir = $this->params['cachedir'];
$previewwidth = 40;
$previewwidth = $this->params['previewWidthList'];
$this->htmlStartPage(getMLText("search_results"));
$this->globalNavigation();