diff --git a/assets/js/limit-violation.js b/assets/js/limit-violation.js deleted file mode 100644 index 58c5aba7..00000000 --- a/assets/js/limit-violation.js +++ /dev/null @@ -1,12 +0,0 @@ -calendar_heatmap.create({ - target: '#calendar', - data: exceedanceData, - date_var: 'date', - fill_var: 'value', - color_scheme: calendar_heatmap.color_ramps.YlGnBu, - stroke_color: 'whitesmoke', - date_format: '%Y-%m-%d', - missing_as_zero: true, - title: 'Daily Measurements of Something Interesting', - show_toggle: false, -}); diff --git a/src/Repository/StationRepository.php b/src/Repository/StationRepository.php index e37b5d0b..6668b86a 100644 --- a/src/Repository/StationRepository.php +++ b/src/Repository/StationRepository.php @@ -34,18 +34,6 @@ public function findByProvider(string $providerIdentifier): array return $qb->getQuery()->getResult(); } - public function findIndexedByProvider(string $providerIdentifier, string $indexedField = 'stationCode'): array - { - $qb = $this->createQueryBuilder('s'); - - $qb - ->indexBy('s', sprintf('s.%s', $indexedField)) - ->where($qb->expr()->eq('s.provider', ':provider')) - ->setParameter('provider', $providerIdentifier); - - return $qb->getQuery()->getResult(); - } - public function findWithoutCity(): array { $qb = $this->createQueryBuilder('s');