geocloud2 icon indicating copy to clipboard operation
geocloud2 copied to clipboard

Harmonising the way "Sort id" works

Open giovanniborella opened this issue 6 years ago • 1 comments

Using 'Sort id' on layers yields this result (left part is Vidi client, right part is GC2 admin) billede

However; when using 'Sort id' on attributes to be used on click/Info: billede

TL;DR: It seems that one of the sort orders needs to be reversed - to unify the UX.

giovanniborella avatar Oct 11 '18 07:10 giovanniborella

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,

mapcentia avatar Oct 11 '18 08:10 mapcentia