geocloud2
geocloud2 copied to clipboard
Harmonising the way "Sort id" works
Using 'Sort id' on layers yields this result (left part is Vidi client, right part is GC2 admin)
However; when using 'Sort id' on attributes to be used on click/Info:
TL;DR: It seems that one of the sort orders needs to be reversed - to unify the UX.
Yes, I know. We started out with a unified way to do it, but some users wanted the higher sort ids on top in the layer tree. So I made a setting in app/conf/App.php where you can reverse the layer tree sorting (which is now the typical way to do it). To fix this we need to implement a setting for the attribute sorting also.
// If true, low layer sort id puts the layer on top
"reverseLayerOrder" => false,