Adding then removing Cast from Groups
complete
C
Cat
complete
Amrayu78
Max Romanchenko: Another issue with relationships.
Max Romanchenko
Amrayu78 Fixed. I replaced the legacy shortcode with a new one (similar to drama, movie, special)
old shortcode:
[cred_delete_post_link action='delete' message='Are you sure you want to remove this person?' message_show='1' class='cred-refresh-after-delete' post='[wpv-post-id]']
new shortcode (with delete confirmation modal):
[cred-delete-relationship class="none text-decoration-none" related_item_one="@group-person.parent" related_item_two="@group-person.child" relationship='group-person' redirect='self']<i class="fas fa-trash"></i> Remove[/cred-delete-relationship]<span class="trigger-delete" style="cursor:pointer"><i class="fas fa-trash"></i> Remove</span>
Please note that some people do not appear in the search when adding to a drama, movie, special, group, because they were previously deleted. The reason is that when you delete a person from a drama, movie, special, group, the wp6y_toolset_connected_elements and
wp6y_toolset_associations
tables still contain information about the deleted association.
I'm afraid to touch these tables so as not to break other associations, since the table structure is quite confusing.
This is definitely a bug, since I used the standard shortcode for deletion. HIt seems that the latest updates have changed this behavior. I found posts on on the Toolset forum from the support team that cred_delete_post_link is officially deprecated...