In order to make changes in the names of relevant legislation be reflected in all records, the string with the actual act name attached to records should be replaced with an intermediary value that is mapped to the act name elsewhere. Right now, only records that are part of the daily import have their values updated automatically to reflect changes in legislation. This change is necessary In order to make this work for ALL records, even those that were manually entered.
As the only legislation currently being automatically updated is the "Energy Resource Activities Act", only records associated with this act should have this change implemented.
Because there will be some records with an intermediate value and some records that still have the actual value, the front end will need to be updated to deal with both cases. (ie. when displaying record data or filtering records based on act name, the app must handle records that have actual and intermediate values).
Acceptance Criteria:
A migration that changes records with the legislation value of records where act name == "Energy Resource Activities Act" to an intermediate code that maps to the actual up-to-date value
Front end modified to read and display the correct act name when a record has an intermediate code instead of a literal value.
In order to make changes in the names of relevant legislation be reflected in all records, the string with the actual act name attached to records should be replaced with an intermediary value that is mapped to the act name elsewhere. Right now, only records that are part of the daily import have their values updated automatically to reflect changes in legislation. This change is necessary In order to make this work for ALL records, even those that were manually entered.
As the only legislation currently being automatically updated is the "Energy Resource Activities Act", only records associated with this act should have this change implemented.
Because there will be some records with an intermediate value and some records that still have the actual value, the front end will need to be updated to deal with both cases. (ie. when displaying record data or filtering records based on act name, the app must handle records that have actual and intermediate values).
Acceptance Criteria: