Skip to content

Expose string values for review status in data exports #2932

@faith-mutua

Description

@faith-mutua

Data exports currently expose only the numeric variables (e.g., 1, 2, 3) for the review status of records, making it difficult for users to immediately understand the status. The corresponding string values (e.g., Pending, Approved, Rejected) should also be included in the data export files.

Expected Behavior

When a data export is generated (e.g., as a CSV, JSON, or Excel file), the column(s) related to review status should contain both:

  1. The existing numeric code (e.g., review_status_code).

  2. The corresponding string value (e.g., review_status).

Actual Behavior

Data exports currently only contain the numeric code for the review status.

Steps to Reproduce

  1. Navigate to the data export panel.
  2. Select a data export type
  3. Click on the Show advanced export options
  4. Select the Include reviews option
  5. Prepare the data export
  6. Download the data export
  7. Open the downloaded file and observe the values in the review status column.

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