-
-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Description
Following a discussion with @arfon I propose adding rejected and withdrawn papers to user stats.
The argument being that if rejected following discussion this is effort on behalf of the reviewer and editor that ought to be acknowledged, and indeed, sometimes a challenging review is more work than a smooth-sailing one!
I am not familiar with Ruby or the app, but was pointed to adding a database query to the following location:
joss/app/controllers/home_controller.rb
Lines 30 to 34 in dce0ad2
| @papers_last_week = Paper.unscoped.visible.since(1.week.ago).group(:editor_id).count | |
| @papers_last_month = Paper.unscoped.visible.since(1.month.ago).group(:editor_id).count | |
| @papers_last_3_months = Paper.unscoped.visible.since(3.months.ago).group(:editor_id).count | |
| @papers_last_year = Paper.unscoped.visible.since(1.year.ago).group(:editor_id).count | |
| @papers_all_time = Paper.unscoped.visible.since(100.year.ago).group(:editor_id).count |
matthewfeickert
Metadata
Metadata
Assignees
Labels
No labels