Skip to content

MMI-3365 Fix duplicate series#2520

Merged
Fosol merged 1 commit intobcgov:devfrom
Fosol:mmi-3365
Oct 22, 2025
Merged

MMI-3365 Fix duplicate series#2520
Fosol merged 1 commit intobcgov:devfrom
Fosol:mmi-3365

Conversation

@Fosol
Copy link
Collaborator

@Fosol Fosol commented Oct 22, 2025

The Show/Program and Other Show/Program selections fields will now filter based on the currently selected source. Additionally, it will trim any "other" value to remove possibility of creating a duplicate.

Summary

  • Updated Editor
  • Added new DB migration 1.4.0
  • Script to merge duplicate Show/Programs (series)

Editor Content Form

image

@Fosol Fosol self-assigned this Oct 22, 2025
@Fosol Fosol added bug Something isn't working DB Migration A DB Migration may require refreshing or simply updating your database. editor labels Oct 22, 2025
const showPostedOn = ['', 'true'].includes(urlParams.get('showPostedOn') ?? 'false');

// Function to filter series based on source and other criteria
const filterSeries = React.useCallback(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We now correctly filter based on source

);

// Function to create series options based on source and other criteria
const filterSeriesOptions = React.useCallback(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We now correctly filter based on source

@Fosol Fosol merged commit df57e63 into bcgov:dev Oct 22, 2025
2 checks passed
@Fosol Fosol deleted the mmi-3365 branch October 22, 2025 21:44
Fosol added a commit that referenced this pull request Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working DB Migration A DB Migration may require refreshing or simply updating your database. editor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant