Skip to content

Citation audit: stale sort_by when FWCI data disappears between runs #197

@seanthimons

Description

@seanthimons

Source: PR #168 review (round 1, item #5)

If a user selects "FWCI" sort in the audit panel and then re-runs an audit on data without FWCI, sort_by retains the stale value. The switch statement falls through to the default case (no sort applied), silently returning unsorted results. Validate sort_by against available choices and reset to "collection_frequency" if invalid.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions