You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, I'm running into an issue where a DCA filter of mine is based on a field with a foreign key to tl_member. I noticed that if 2 or more of the members have the exact same first and last name, the code overwrites the first occurences with the last option. I adjusted this line of code to include the $kk variable and it seems to work as intended.
Unfortunately, you have created your issue in the wrong repository, as this is a read-only split repository. Please go to https://github.com/contao/contao and create your issue there.
Hi all, I'm running into an issue where a DCA filter of mine is based on a field with a foreign key to tl_member. I noticed that if 2 or more of the members have the exact same first and last name, the code overwrites the first occurences with the last option. I adjusted this line of code to include the $kk variable and it seems to work as intended.
$options_sorter[$option_label . '_' . $field . '_' . $kk] = ' <option value="' . StringUtil::specialchars($value) . '"' . ((isset($session['filter'][$filter][$field]) && $value == $session['filter'][$filter][$field]) ? ' selected="selected"' : '') . '>' . StringUtil::specialchars($option_label) . '</option>';
core-bundle/contao/drivers/DC_Table.php
Line 6265 in e548fe3
The text was updated successfully, but these errors were encountered: