geosolutions-it / MapStore2

The solution to create and share maps, dashboards, geostories with 3D support on the web. And it is open-source too!
https://mapstore.geosolutionsgroup.com/
Other
517 stars 405 forks source link

Sorting not working when a layer filter is present #5836

Closed offtherailz closed 3 years ago

offtherailz commented 4 years ago

Description

When the layer filter is present, column sorting in feature grid doesn't work. See this: https://github.com/georchestra/mapstore2-georchestra/issues/266 Peek 04-09-2020 12-35

How to reproduce

Expected Result The order of rows changes

Current Result The order of rows doesn't change

Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users) | Browser Affected | Version | |---|---| |Internet Explorer| | |Edge| | |Chrome| | |Firefox| | |Safari| |

Other useful information

Looking at the request the request is sent but the sort order is fixed to STATE_NAME, ascending. Clicking on the column headers doesn't change this filter.

MuhweziDeo commented 3 years ago

@offtherailz @tdipisa I tested this in https://dev.mapstore.geo-solutions.it/ and sorting looks to be working fine. Please confirm on your end that it works as well

tdipisa commented 3 years ago

@MuhweziDeo yes it seems perfectly working now on both DEV and QA instances. Moving to Test for a new check @ElenaGallo.

ElenaGallo commented 3 years ago

it works, I close the issue.