feat: Improve the display of data for the large account finder

This commit is contained in:
Carlos Solís 2025-03-06 09:31:37 -06:00
parent 1162155b25
commit 99c50e5df3

View file

@ -34,10 +34,12 @@ db="friendica"
order by count(*) desc \ order by count(*) desc \
limit 1000 \ limit 1000 \
); \ ); \
select c.url, \ select \
c.\`id\`, \ c.\`id\`, \
c.name, \
c.url, \
g.platform, \ g.platform, \
a.amount \ (a.amount + o.amount + t.amount) as final_amount \
from contact as c \ from contact as c \
right join tmp_authors as a \ right join tmp_authors as a \
on c.id = a.\`author-id\` \ on c.id = a.\`author-id\` \
@ -47,6 +49,5 @@ db="friendica"
on c.id = t.\`causer-id\` \ on c.id = t.\`causer-id\` \
left join gserver as g \ left join gserver as g \
on g.id = c.gsid \ on g.id = c.gsid \
where g.platform != \"lemmy\" \ order by final_amount asc \
and g.platform != \"\" \ limit 1000;"
limit 100;"