Comments (4)
Thanks for reporting though this is a known issue. The layer counter wasn't updated when the hierarchy support was added for the layerlisting. So it only counts layers in the group and doesn't count subgroups or layers in them. I think there was some issue that needs to be figured out for free text filter and how the layer counter works with it. Outside that it should be fairly easy fix.
from oskari-docs.
Thanks @ZakarFin for the info. Any idea if/when a fix would be implemented or how one could assist?
from oskari-docs.
PRs are always nice :) Here's some related code:
- layer count/group: https://github.com/oskariorg/oskari-frontend/blob/2.6.0/bundles/framework/layerlist/view/LayerViewTabs/LayerList/LayerCollapse/LayerCollapsePanel.jsx#L145
- Display of count/unfiltered: https://github.com/oskariorg/oskari-frontend/blob/2.6.0/bundles/framework/layerlist/view/LayerViewTabs/LayerList/LayerCollapse/LayerCollapsePanel.jsx#L34-L36
- Unfiltered count is injected in https://github.com/oskariorg/oskari-frontend/blob/2.6.0/bundles/framework/layerlist/view/LayerViewTabs/LayerList/LayerCollapse/LayerCollapseHandler.js#L78
Both the unfiltered count and filtered count should be updated to take subgroups into account. Might need to add some helper for groups to recurse through the structure to get the combined values.
from oskari-docs.
Fixed in the linked PR. The fix will be included in the next (2.7) release.
from oskari-docs.
Related Issues (20)
- Unable to unset metadata layer for Timeseries layer HOT 3
- WMS GFI not handle correctly cases when using different style than default HOT 2
- Support environment variables as config HOT 2
- Filtered OGC API Features layers HOT 2
- MIF/MID can't handle empty string on number/boolean columns HOT 2
- Proposal: Removing support for "collection" layers HOT 5
- Cookie update with users own layer HOT 4
- Create time for objects identifies wrongly in Oskari map service HOT 12
- Allow WFS search channels to set region based on property HOT 5
- Rewriting the map tools HOT 1
- Print map of the specified area HOT 5
- Sub-theme bug in Oskari mapservice HOT 2
- Reorganization of sub-themes and it's map layers by dragging? HOT 3
- External images as point symbols not supported by printing
- Requirement for migration - pan/arrow buttons on map? HOT 1
- Map views that are device and web browser independent HOT 7
- Changing url of a proxied WMTS layer HOT 4
- Enabling end-users to save styling for vector layers HOT 3
- Selected map layers order is opposite to GetFeatureInfo order HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oskari-docs.