Merge pull request #8077 from mapillary/photo-filtering-url

Persist photo layer filters in the URL
This commit is contained in:
Quincy Morgan
2020-10-15 13:39:46 -04:00
committed by GitHub
2 changed files with 31 additions and 4 deletions
+2 -2
View File
@@ -220,7 +220,7 @@ export function uiSectionPhotoOverlays(context) {
})
.on('change', function(d) {
var value = d3_select(this).property('value');
context.photos().setDateFilter(d, value);
context.photos().setDateFilter(d, value, true);
});
li
@@ -275,7 +275,7 @@ export function uiSectionPhotoOverlays(context) {
.property('value', context.photos().username())
.on('change', function() {
var value = d3_select(this).property('value');
context.photos().setUsernameFilter(value);
context.photos().setUsernameFilter(value, true);
});
li