1 parent 2c89ec1 commit 4d8c9f4Copy full SHA for 4d8c9f4
1 file changed
templates/hfxtrees/index.html
@@ -609,11 +609,9 @@ <h4><i class="fas fa-filter"></i> Filters <i class="fas fa-chevron-down filter-t
609
if (p.c !== commonNameVal) return false;
610
}
611
612
- // Year filter
613
- if (yearActive) {
614
- var yr = p.y;
615
- if (!yr || yr < 2013 || yr > 2025) return false;
616
- if (yr < yearMin || yr > yearMax) return false;
+ // Year filter (skip trees with no year data)
+ if (yearActive && p.y) {
+ if (p.y < yearMin || p.y > yearMax) return false;
617
618
619
// DBH filter
0 commit comments