bcgov / NRPTI

Natural Resources Public Transparency Initiative
Apache License 2.0
5 stars 15 forks source link

Replace actName with intermediate value for energy records #1211

Closed acatchpole closed 3 months ago

acatchpole commented 4 months ago

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: