diff --git a/module/VuFind/src/VuFind/Controller/AjaxController.php b/module/VuFind/src/VuFind/Controller/AjaxController.php index b28959529627e47a0116eab089abe874f498056d..054a0230e855ba6b4d392bdc91e15e4561b8ae11 100644 --- a/module/VuFind/src/VuFind/Controller/AjaxController.php +++ b/module/VuFind/src/VuFind/Controller/AjaxController.php @@ -799,7 +799,7 @@ class AjaxController extends AbstractBase $from = $to = ''; if (isset($filters[$current])) { foreach ($filters[$current] as $filter) { - if (preg_match('/\[\d+ TO \d+\]/', $filter)) { + if (preg_match('/\[[\d\*]+ TO [\d\*]+\]/', $filter)) { $range = explode(' TO ', trim($filter, '[]')); $from = $range[0] == '*' ? '' : $range[0]; $to = $range[1] == '*' ? '' : $range[1]; diff --git a/themes/bootstrap3/templates/Recommend/PubDateVisAjax.phtml b/themes/bootstrap3/templates/Recommend/PubDateVisAjax.phtml index e4fd974b16ca5d369bd6b7a22eb1b836499a276a..1e3f4af4ec84500301db18f10fd8c3350f6479f8 100644 --- a/themes/bootstrap3/templates/Recommend/PubDateVisAjax.phtml +++ b/themes/bootstrap3/templates/Recommend/PubDateVisAjax.phtml @@ -10,7 +10,7 @@ <? foreach ($visFacets as $facetField=>$facetRange): ?> <div class="authorbox"> - <div id="datevis<?=$this->escapeHtml($facetField)?>xWrapper" style="display: none;"> + <div id="datevis<?=$this->escapeHtml($facetField)?>xWrapper" class="hidden"> <strong><?=$this->transEsc($facetRange['label']) ?></strong> <? /* space the flot visualisation */ ?> <div id="datevis<?=$facetField ?>x" style="margin:0 10px;width:auto;height:80px;cursor:crosshair;"></div>