mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
do not show facetted search if fulltext search is off
This commit is contained in:
parent
6c298030a5
commit
69786c4196
|
@ -465,7 +465,7 @@ $(document).ready(function() {
|
|||
<li class="nav-item <?php echo ($fullsearch == true && $facetsearch == false) ? 'active' : ''; ?>"><a class="nav-link <?php echo ($fullsearch == true && $facetsearch == false) ? 'active' : ''; ?>" data-target="#fulltext" data-toggle="tab" role="button"><?php printMLText('fullsearch'); ?></a></li>
|
||||
<?php
|
||||
}
|
||||
if($enablefacetsearch) {
|
||||
if($enablefullsearch && $enablefacetsearch) {
|
||||
?>
|
||||
<li class="nav-item <?php echo ($facetsearch == true && $facetsearch == true) ? 'active' : ''; ?>"><a class="nav-link <?php echo ($facetsearch == true && $facetsearch == true) ? 'active' : ''; ?>" data-target="#facetfulltext" data-toggle="tab" role="button"><?php printMLText('facetfullsearch'); ?></a></li>
|
||||
<?php
|
||||
|
@ -1055,7 +1055,7 @@ $(document).ready(function() {
|
|||
// }}}
|
||||
|
||||
// Fulltext search with facets Form {{{
|
||||
if($enablefacetsearch) {
|
||||
if($enablefullsearch && $enablefacetsearch) {
|
||||
echo "<div class=\"tab-pane ".(($fullsearch == true && $facetsearch == true) ? 'active' : '')."\" id=\"facetfulltext\">\n";
|
||||
?>
|
||||
<form class="form-horizontal" action="<?= $this->params['settings']->_httpRoot ?>out/out.Search.php" name="form2">
|
||||
|
|
Loading…
Reference in New Issue
Block a user