Skip to content

Commit

Permalink
Identifying (GetFeatureInfo) on a WMS layer in the map only shows dat…
Browse files Browse the repository at this point in the history
…a in columns with a lowercase title. Fixes geonetwork#8353.

Affects only 3.12.x branch. Follow up of geonetwork#6802
  • Loading branch information
josegar74 committed Sep 16, 2024
1 parent 24c9b85 commit 1ba1c5c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,9 @@
obj[key] = $filter('linky')(obj[key], '_blank');
}
if (obj[key]) {
obj[key] = obj[key].replace(/>(.)*</, ' ' +
obj[key.toLowerCase()] = obj[key].replace(/>(.)*</, ' ' +
'target="_blank">' + linkTpl + '<');
delete obj[key];
}
} else {
// Exclude objects which will not be displayed properly
Expand Down

0 comments on commit 1ba1c5c

Please sign in to comment.