Skip to content

BUG - Simple counter, take the wrong number of planets

Simple counter, take the wrong number of planets.

For now, the figure given on scholar.exoplanet.eu differs from that given by exoplanet.eu.

The issue stems from the fact that the simple counter in the API counts all confirmed planets, whereas the counter on exoplanet.eu counts confirmed and active planets.

The correct SQL request is :

SELECT count(*) FROM core_planet WHERE planet_status = 1 AND status = 1;