Skip to content

Feature request - Log rejected/withdrawn papers in editor and reviewer stats #1478

@jatkinson1000

Description

@jatkinson1000

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:

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions