Open gubuntu opened 6 years ago
change the default order to sort on keywords, specifically
GeoSAFE exposure
GeoSAFE hazard
GeoSAFE aggregation
Other curated layers (like drought, landslides, powerlines etc) that are useful but not available in in GeoSAFE
GeoSAFE impact layers generated by analysis
@gavin we already use this order in the map view except layers other than inasafe layer, because we cannot show them on the map CMIIW @boney-bun
@myarjunar I think what Gavin is trying to say is that when a user goes to our geonode the layer list is alphabetical I think. So instead of having this default list rather sort the layers based on the keywords allocated as described above.
yes we're talking GeoNode layer view here, not GeoSAFE
This the default behaviour in GeoNode. I assume it is more make sense to override this behaviour in GeoSAFE instead and not change this default GeoNode behaviour. For GeoNode, I think the correct approach would be to play with the sort filter they provided.
I suggest we move it to GeoSAFE and solve it there because in GeoSAFE we can easily check if the layer is InaSAFE layer or not (in addition of taking the Keywords into consideration).
There's a transfer issue button in Github now, so if we agree, we can move it over to GeoSAFE.
problem
in the layer view, the default ordering mixes up layers randomly (that's how it appears to the casual user)
solution
change the default order to sort on keywords, specifically
As a quick fix, change the default sort to 'less recent first' so that most the impact layers go to the end of the list