Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to store layer's expression filters into project (authenticathed users) #503

Merged
merged 99 commits into from
Oct 31, 2023

Conversation

volterra79
Copy link
Member

@volterra79 volterra79 commented Oct 13, 2023

Depends on: g3w-suite/g3w-admin#623

Closes: #502

List of changes:

1. New context menu item: Filters

Screenshot from 2023-10-20 11-42-21

2. Choose / Delete filter

Click on filter name → to apply that filter on map.
Click on trash icon → remove from map and delete it permanently from server.

Screenshot from 2023-10-20 11-44-30

3. Save a new filter

A filter icon is shown next to layer name when it is enabled on that layer:

Screenshot from 2023-10-20 11-47-28

Select it and then save (or update) it by clicking on the disk icon:

Screenshot from 2023-10-20 11-49-53

Give a name to the filter you are creating in the modal window that will appear.

Screenshot from 2023-10-20 11-53-13

Once saved, you can see it onto the list of available filters:

Screenshot from 2023-10-20 11-54-20

… if other layers have filter activated. In this case application do all request with filter token as paramter. At moment when ask delete filter token to a layer, filtertoken is remove and all others layer lost filter
@volterra79 volterra79 added the feature New feature or request label Oct 13, 2023
@volterra79 volterra79 added this to the v3.9 milestone Oct 13, 2023
@volterra79 volterra79 self-assigned this Oct 13, 2023
@Raruto Raruto changed the title Save filter token on a layer Allow to store layer's expression filters into QGIS project (authenticathed users) Oct 17, 2023
…ter active id.

 Add state.filters property to store filters saved from server
 Add methodes to handle get, add, delete filters saved
…saved filter

Add applyFilterToken and saveFilterToken
@volterra79 volterra79 merged commit 104d90b into dev Oct 31, 2023
@volterra79 volterra79 deleted the issue_502 branch October 31, 2023 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow end user to save selection filters
3 participants