Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
edelm committed Feb 6, 2020
2 parents fad81bc + 7ef91e1 commit 78a83ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cli/update-elastic-search-aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

HOST=localhost
PORT=9201
OLD_TIMESTAMP=2019-10-25
NEW_TIMESTAMP=2019-11-22
OLD_TIMESTAMP=2019-11-22
NEW_TIMESTAMP=2020-02-03

PERSONS_INDEX=sb-persons
ORGANISATIONS_INDEX=sb-organisations
Expand Down
6 changes: 4 additions & 2 deletions themes/sbvfrd/templates/search/searchbox.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
$params = $this->searchMemory()->getLastSearchParams($this->searchClassId);
}
$params->removeAllFilters();
foreach ($filterList as $filter) {
$params->addFilter($filter);
foreach ($filterList as $filterName => $filterItems) {
foreach ($filterItems as $filterValue) {
$params->addFilter($filterName . ':' . $filterValue);
}
}

// Extend swissbib global object by autocomplete configuration
Expand Down

0 comments on commit 78a83ce

Please sign in to comment.