Skip to content

Fix: Maplayer adds background geonode layer to TOC#2595

Merged
allyoucanmap merged 1 commit into
GeoNode:masterfrom
dsuren1:maplayer_fix
Jul 9, 2026
Merged

Fix: Maplayer adds background geonode layer to TOC#2595
allyoucanmap merged 1 commit into
GeoNode:masterfrom
dsuren1:maplayer_fix

Conversation

@dsuren1

@dsuren1 dsuren1 commented Jul 9, 2026

Copy link
Copy Markdown

Description

This PR fixes an issue where adding a layer from the GeoNode catalog service also adds the background layer to the map layers when the background layer originates from GeoNode. This issue does not affect the stable v5.1

@dsuren1
dsuren1 requested a review from allyoucanmap July 9, 2026 07:06
@dsuren1 dsuren1 added bug Something isn't working master labels Jul 9, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the getGeoNodeMapLayers utility function to filter out map layers belonging to the "background" group. Additionally, a test case has been added to verify this behavior. I have no feedback to provide as there are no review comments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@allyoucanmap
allyoucanmap merged commit 7207d56 into GeoNode:master Jul 9, 2026
3 checks passed
@dsuren1 dsuren1 linked an issue Jul 9, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maplayer adds background Geonode origin layer to TOC

2 participants