complete fulltext search with filter for modification date

This commit is contained in:
Uwe Steinmann 2023-05-04 08:56:50 +02:00
parent a4a6671867
commit fbdbc4e174

View File

@ -820,6 +820,14 @@ $(document).ready(function() {
getMLText("creation_date")." (".getMLText('to').")",
$this->getDateChooser(!empty($created['to']) ? getReadableDate($created['to']) : null, "created[to]", $this->params['session']->getLanguage())
);
$this->formField(
getMLText("modification_date")." (".getMLText('from').")",
$this->getDateChooser(!empty($modified['from']) ? getReadableDate($modified['from']) : null, "modified[from]", $this->params['session']->getLanguage())
);
$this->formField(
getMLText("modification_date")." (".getMLText('to').")",
$this->getDateChooser(!empty($modified['to']) ? getReadableDate($modified['to']) : null, "modified[to]", $this->params['session']->getLanguage())
);
if(!isset($facets['owner'])) {
$options = array();
foreach ($allUsers as $currUser) {
@ -1297,7 +1305,7 @@ $(document).ready(function() {
if($facetname == 'created')
$this->printAccordion(getMLText('creation_date'), $content);
elseif($facetname == 'modified') {
// $this->printAccordion(getMLText('modification_date'), $content);
$this->printAccordion(getMLText('modification_date'), $content);
}
}
} else {