georchestra / mapstore2-cadastrapp

repository for the mapstore2 version of cadastrapp
GNU General Public License v3.0
2 stars 10 forks source link

only call getBatiments if there are buildings on the plot (#168) #170

Closed landryb closed 2 years ago

landryb commented 2 years ago

Fixes #168, might not be the best fix but it works here, no more 400 errors, when opening the info form on a plot without buildings the building tag show "no data to display", and properly displays the building if there's one on the plot.

MaelREBOUX commented 2 years ago

I agree to merge this PR.