Indicia-Team / warehouse

GNU General Public License v3.0
5 stars 3 forks source link

Incorrect behaviour when generating species alerts #521

Closed johnvanbreda closed 5 months ago

johnvanbreda commented 5 months ago

In the species_alerts table, there are users who have subscribed to the TVK for Cyanobacteria and also specified the main UKSI taxon list for the alert. I would expect this to mean that an alert is generated for records of Cyanobacteria recorded against UKSI. However the behaviour is any record of Cyanobacteria from any list that uses TVKs, plus any record of any organism recorded against UKSI. This is generating huge quantities of notifications.