diff --git a/classes/OccurrenceMapManager.php b/classes/OccurrenceMapManager.php index 3c2749400f..fc7be18356 100644 --- a/classes/OccurrenceMapManager.php +++ b/classes/OccurrenceMapManager.php @@ -59,7 +59,7 @@ public function getCoordinateMap($start, $limit){ 'o.othercatalognumbers, c.institutioncode, c.collectioncode, c.CollectionName '. 'FROM omoccurrences o INNER JOIN omcollections c ON o.collid = c.collid '; - $this->sqlWhere .= 'AND ts.taxauthid = 1 '; + $this->sqlWhere .= 'AND (ts.taxauthid = 1 OR ts.taxauthid IS NULL) '; $sql .= $this->getTableJoins($this->sqlWhere); @@ -68,7 +68,6 @@ public function getCoordinateMap($start, $limit){ if(is_numeric($start) && $limit){ $sql .= "LIMIT ".$start.",".$limit; } - //echo '//SQL: ' . $sql; $result = $this->conn->query($sql); $color = 'e69e67'; $occidArr = array();