Introduce tenup-content-connect-update-relationships-order action - #123
Merged
s3rgiosan merged 3 commits intoAug 14, 2026
Merged
Conversation
Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
4 tasks
jeffpaul
approved these changes
Aug 14, 2026
s3rgiosan
deleted the
feature/tenup-content-connect-update-relationships-order
branch
August 14, 2026 16:09
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the Change
Introduces a new
tenup-content-connect-update-relationships-orderaction so extenders can run logic after relationship order is saved. It fires fromPostToPost::save_sort_data()and bothPostToUsersort methods, covering all three directions —post-to-post,post-to-user, anduser-to-post— and passes the object ID, the ordered IDs, the relationship name, and the relationship type.This is a rebase of #115 (@ocean90) onto the 2.0.0 line. Changes vs. the original PR:
develop(keptdevelop's formatting).@sincefrom1.7.0to2.0.0(1.7.0 never shipped).@paramdocs on the canonical block:$object_idalso carries a user ID in theuser-to-postfire, so the description is now type-agnostic.Original authorship is preserved (
Author: Dominik Schilling, plus aCo-authored-bytrailer).Closes #114
How to test the Change
$type(post-to-post,post-to-user) and the ordered IDs matching the UI.user-to-post, triggerPostToUser::save_user_to_post_order()(API level) and confirm$object_idis the user ID and$typeisuser-to-post.Changelog Entry
Credits
Props @ocean90
Checklist: