facet['type'] ? function ($val) { return substr($val, 0, 10); } : function ($val) { return preg_replace('/[^\d]*/', '', $val); }; $cleanValues = array_map($sanitize, $this->facet['values'] ?? []); $safeBaseId = $this->escapeHtmlAttr($this->title); ?>
getUrlQuery()->asHiddenFields(['page' => '/./', 'filter' => "/^{$this->title}:.*/"])?>
facet['type'] == 'date') ? 'maxlength="4" ' : ''; ?>
>
>
facet['type'] == 'date'): ?>
facet['type'] == 'date'): ?> headScript()->appendFile('vendor/bootstrap-slider.min.js'); ?> headLink()->appendStylesheet('vendor/bootstrap-slider.min.css'); ?> (int)$min, 'max' => (int)$max, 'handle' => 'square', 'tooltip' => 'hide', 'value' => [(int)$low, (int)$high], 'id' => $safeBaseId . '_slider_control', ]; $sliderOptionsJson = json_encode($sliderOptions); $script = << inlineScript(\Laminas\View\Helper\HeadScript::SCRIPT, $script, 'SET'); ?>