Skip to content

Commit

Permalink
Merge pull request #58 from RegioneER/issue_28788
Browse files Browse the repository at this point in the history
Support with new bandi fields
  • Loading branch information
cekk authored Dec 5, 2024
2 parents db23b4e + f62dd37 commit b7a828d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
4.4.1 (unreleased)
------------------

- Nothing changed yet.
- Fix grouping in header.
[cekk]


4.4.0 (2023-09-07)
Expand Down
22 changes: 11 additions & 11 deletions src/rer/sitesearch/browser/static/dist/prod/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/rer/sitesearch/browser/static/dist/prod/main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/rer/sitesearch/browser/static/js/SearchResults/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ const Header = () => (
const allTotal = facets.groups.values
? facets.groups.values[getTranslationFor('all_types_label')].count
: 0;
const group = filters.group;
let group = filters.group;
if (typeof group === 'object' && group !== null) {
group = group.query;
}
const groupCount = group ? facets.groups.values[group].count : total;
return (
<div className="results-header">
Expand Down

0 comments on commit b7a828d

Please sign in to comment.