regione-piemonte / decsira

SIRA Decisionale Ambiente
1 stars 19 forks source link

Removing filters from QueryBuilder #849

Open mbarto opened 3 years ago

mbarto commented 3 years ago

Issue from document: "Segnalazioni_DECSIRAv2_v4.docx" sent by client on 18/02/2021, point 6.

https://drive.google.com/file/d/1IAi8MRvdPCoVZ_Z9fO3cFuAkWyGi1qfQ/view?usp=sharing

To reproduce:

You get a "Network error", it looks like the WFS url is not built correctly, resulting null

image

valeria-foco commented 3 years ago

Hi, I wanted to report a malfunction that occurs after this fix. When you open the Query Builder the default group field condition is "AND".

image

If you clear filters with the appropriate button the group condition switches to "OR".

image

If the user does not notice this change, they may do incorrect searches.

dsuren1 commented 3 years ago

Hi @valeria-foco The fix only address the search performed with a malformed WFS url as per issue description. It has nothing to do with the reset functionality. We can create a new issue to retain the behavior of reset as it was before the migration

valeria-foco commented 3 years ago

Ok! I opened a new Issue #893 Thank you.