+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/views/FrontView.vue b/frontend/src/views/FrontView.vue
index 5f55ceb..2bc3925 100644
--- a/frontend/src/views/FrontView.vue
+++ b/frontend/src/views/FrontView.vue
@@ -91,6 +91,17 @@ export default {
if (item.depth_max < filterValues[0] || item.depth_min > filterValues[1]) {
return false;
}
+ } else if (filterParam === "resolution") {
+ if (
+ // we control resolution input format, so we can be reasonbly sure
+ // it has upto one comma to denote decimal point and no dots
+ // therefore it's safe to normalize it into
+ // JavaScript definition of a decimal literal
+ item.resolution < parseFloat(filterValues[0].replace(/,/, '.'))
+ || item.resolution > parseFloat(filterValues[1].replace(/,/, '.'))
+ ) {
+ return false;
+ }
} else if (filterParam === "datalist") {
// for all selected datalist options check if we can find it in the datalist string
for (let datalistOption of filterValues) {