Extend Statistics Model with Source Field to Identify Shared or Local Records

Description

Overview:

When generating reports, such as "Failed updates: linked bibliographic fields" and "MARC authority headings update", the system currently lacks a mechanism to determine whether the related statistics records are shared (across a consortium) or local (specific to a single tenant). This gap introduces complexities in ensuring proper segregation of consortium-related logic. To address this, the mod-entities-links module needs to be enhanced with a source field in the statistics model to identify "shared" or "local" status.

Requirements:

  • Extend the statistics model in mod-entities-links with a new boolean field (shared) that determines whether a record is "shared" or "local” for "Failed updates: linked bibliographic fields" and "MARC authority headings update" reports.

  • Update the handlers writing statistics to the mod-entities-links database to include source field. Based on the field by “CONSORTIUM-” prefix the handler will identify if record is shared or local.

Environment

None

Potential Workaround

None

CSP Request Details

None

CSP Rejection Details

None

Checklist

hide

Activity

Show:

Details

Assignee

Reporter

Priority

Development Team

Spitfire

Release

Not Scheduled

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 10, 2025 at 9:05 AM
Updated March 10, 2025 at 9:11 AM
TestRail: Cases
TestRail: Runs