Skip to content

Layer filtering persistence on map save #3983

@gioscarda

Description

@gioscarda

Description

In #3785 it was required that:

the filter will be persisted along with the other layer options, inside the map object on map save. If we reload the map once it's saved the filter will be reapplied.

The filter does not persist on map save. When reloading the map, after saving, no filters apply.

In case of Bug (otherwise remove this paragraph)

Browser Affected
(use this site: https://www.whatsmybrowser.org/ for non expert users)

  • Internet Explorer
  • Chrome
  • Firefox
  • Safari

Browser Version Affected

  • Browser independent

Steps to reproduce

  • open a map
  • load a vector layer form the catalog
  • open the TOC
  • select the vector layer and click on the 'Filter Layer' button of the toolbar
  • set up a filter through the query builder
  • apply the filter
  • save the filter
  • verify no errors occur when filtering the layer
  • save the map
  • reload the map
  • verify the filter apply automatically
  • go to home
  • reopen the map
  • verify the filter apply automatically

Expected Result

The filter apply automatically (persistent)

Current Result

The filter no longer exists (not persistent)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions