maiki
(maiki)
8 Diciembre, 2019 20:56
2
AshtonJ tomó el código del panel de control, para facilitar la modificación como una consulta de Explorador de Datos (un plugin muy genial que probablemente te guste):
Another one I can’t take any credit for - ripped directly out of DC’s dashboard
Top 10 referrers over the last month
SELECT COUNT(*) AS count_all, incoming_domains.name
AS incoming_domains_name
FROM "incoming_links"
INNER JOIN "posts" ON "posts"."id" = "incoming_links"."post_id"
AND ("posts"."deleted_at" IS NULL)
INNER JOIN "topics" ON "topics"."id" = "posts"."topic_id"
AND ("topics"."deleted_at" IS NULL)
INNER JOIN "incoming_referers" ON "incoming_referers"."id" = "incoming_l…