alercebroker / ztf_explorer

🌚 🔭 💻 ZTF Explorer for the ALeRCE broker
https://alerce.online/
6 stars 0 forks source link

The restriction that the min range of detections must be less than the max range of detections is not handled. #316

Closed DiegoMellisG closed 3 years ago

DiegoMellisG commented 3 years ago

Example:

https://dev.alerce.online/?selectedClassifier=lc_classifier&selectedClass=CV%2FNova&probability=0.3&ndet=50&ndet=10&count=true&page=1&perPage=20&sortBy=probability&sortDesc=true

Params used:

If i make the search with that params, the query doesn't give result but it still performs it without verify the restriction of the ranges.

Suggestion: Handle a condition that verify the ranges params before the query.