Closed aaronkanzer closed 1 week ago
Thank you, @aaronkanzer.
Hi @waxlamp, we noticed this behavior on lincbrain.org where the users
count on the homepage included those users with a STATUS
of APPROVED
, PENDING
, INCOMPLETE
and REJECTED
. Presumably the desired behavior is only to count the users who are APPROVED
.
@aaronkanzer what is your plans for this PR?
@aaronkanzer what is your plans for this PR?
Sorry, @yarikoptic, not sure what you mean. After discussion with @aaronkanzer, he will be coming back to these PRs over the next few weeks.
@waxlamp thanks for the review -- I've updated the code accordingly to your review.
Cc @kabilar @yarikoptic
Thanks team. Based on these changes it looks like the number of users listed on the homepage (https://dandiarchive.org/) went from 1908 to 1412.
Cc @kabilar -- per our fix in LINC
The current query on the landing page that shows stats does not filter by user type (e.g. it takes in account REJECTED uers)
This PR includes the proper query.