- changed status to duplicate
Tools menus supports for multiple custom field values
Issue #645
duplicate
Right now, the tools' menus custom field is limited to a single value : usertype=student
It would be nice if we could set multiple values such as usertype=student1,student2
In that case, the menu would show up when usertype is either student1 or student2.
Changing adaptable/renderers.php:1612
if ($usersvalue == $setvalue) {
with
if (preg_match("~\b" . $usersvalue . "\b~", $setvalue)) {
should do the trick.
Comments (1)
-
- Log in to comment
Duplicate of #221.