Open germangelv opened 2 years ago
Did you load the thesaurus from the INSPIRE registry in the languages you need ?
If yes, then a config like
'th_httpinspireeceuropaeutheme-theme_tree.key': {
'terms': {
'field': 'th_httpinspireeceuropaeutheme-theme_tree.key',
'size': 34
}
},
Should do
eg. french
italiano
The language of GEMET - INSPIRE themes, version 1.0 loaded is es,en,pt.
Should I alter the JSON configuration?
"inspireThemeUri": {
"terms": {
"field": "inspireThemeUri",
"size": 10
}
},
I modified the JSON configuration obtaining the titles in English but losing the translation capacity in the VEGA filters section
"inspireTheme": {
"terms": {
"field": "inspireTheme",
"size": 34
},
"meta": {
"translateOnLoad": true
}
}
This error does not appear in .../catalog.search#/home
but does appear in .../catalog.search#/search
Using GeoNetwork version: 4.0.7 the problem generalizes to home
and search
sections
Did you load the thesaurus from the INSPIRE registry in the languages you need ?
If yes, then a config like
'th_httpinspireeceuropaeutheme-theme_tree.key': { 'terms': { 'field': 'th_httpinspireeceuropaeutheme-theme_tree.key', 'size': 34 } },
Should do eg. french
italiano
This configuration is valid to Milestone 4.0.7. https://github.com/geonetwork/core-geonetwork/commit/47601e61a284f5a34260bbd96e600a8cf56da838
What is the valid inspireTheme facet configuration for 4.0.5?
Describe the bug When loading the INSPIRE theme, filter categories are incorrectly represented
To Reproduce
Expected behavior I expected Filters to be rendered with their language mask
Screenshots![Captura de pantalla de 2022-04-20 09-02-32](https://user-images.githubusercontent.com/19233953/164170124-a152323c-cc7e-4a15-9e7a-566af7a2fc6e.png)
Desktop
Additional context I followed the steps commented here to solve the links but they don't work in Spanish https://github.com/geonetwork/core-geonetwork/issues/5862#issuecomment-894021440
Here are the search strings from the UI for the two samples above.
Maybe, In this line are resolving bad https://github.com/geonetwork/core-geonetwork/blob/6fae61a049e814614e785e3a5295f739e428ba54/web-ui/src/main/resources/catalog/components/elasticsearch/directives/partials/facet.html#L21