Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sequence indicator to Goals, Objectives, Indicators #64

Merged

Conversation

vauxia
Copy link
Collaborator

@vauxia vauxia commented Feb 5, 2025

This PR Adds a 'Sequence' field (field_sequence ) and populates it from the migration. On an entity load hook for parent items (Plans, Goals, Objectives), the child items in field_goals, field_objectives and field_indicators are ordered according to sequence, respecting the order that has been entered into Airtable.

The sequence field can also be used in views as a sort condition.

@vauxia
Copy link
Collaborator Author

vauxia commented Feb 5, 2025

@acabouet This can probably be closed in favor of #66 but I will leave it open in case you want to review this change set separately and then merge in its offspring

Copy link
Collaborator

@acabouet acabouet left a comment

Choose a reason for hiding this comment

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

Updated config locally without issues and field was added where expected.

@acabouet acabouet merged commit 7b96f3c into CivicActions:main Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants