-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only include APPROVED users for stats on homepage #1952
Conversation
Thank you, @aaronkanzer. Hi @waxlamp, we noticed this behavior on lincbrain.org where the |
@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. |
3b1d4a7
to
0899ba8
Compare
@waxlamp thanks for the review -- I've updated the code accordingly to your review. |
5d5df35
to
9d388d0
Compare
a1fbc22
to
ee11e9e
Compare
This is not needed due to the testing framework creating a fresh database for each test run. Co-authored-by: Mike VanDenburgh <37340715+mvandenburgh@users.noreply.github.com>
Co-authored-by: Mike VanDenburgh <37340715+mvandenburgh@users.noreply.github.com>
3a259ac
to
a8b5bd6
Compare
🚀 PR was released in |
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.