Skip to content

Missing as_appointed relations for presidents who fill the position in absence of a person #15

@sehansi-9

Description

@sehansi-9

Currently, there are ministries that do not have a person assigned during whole/partial time period of a ministry's active time period. This is handled in the frontend to fill with the president at that time in most cases( in active ministries grid, persons tab and department history timeline views )

There is a limitation when it comes to creating person profile for persons who served as presidents as all of the "filling gaps" positions are not tracked as a result of not having as_appointed relations in the database.

There are 2 solutions

  1. Create a dictionary when the data is first loaded, traverse through all ministries attached to all presidents, find gaps in as_appointed time stamps within the ministry's time period and assign those gap time periods to the president in the Frontend

  2. Create a separate script that will identify these gaps and create relations in the database itself (frontend reads all as_appointed for a person straightforwardly)

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