taxonomy-select in Repeater in group
-
I have a group that contains a selector and a repeater. the repeater item contains taxonomy selectors. the value of the selection is kept in the database correctly (as selected), but displayed incorrectly in both frontend and backend. meaning the value is reset to some other value because of the order in which the terms are ordered.
I cannot use hooks so i have to do this manually on each update.
Please replace in /advanced-custom-fields-pro/includes/fields/class-acf-field-taxonomy.php the following code:
$order[ $i ] = array_search( $v, $value );
with
$order[ $i ] = false === ($k = array_search( $v, $value )) ? count($term_ids) + $i : $k;
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.