Commit e1087140 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Return an array of institutions for each user in solr

parent 4dab18b9
......@@ -180,6 +180,9 @@ END;
}
if ($key_parts[0] == 'store' || $key_parts[0] == 'text' || $key_parts[0] == 'string') {
if ($key_parts[1] == 'institutions') {
$value = $value == 'mahara' ? array() : explode(' ', $value);
}
$new_result[$key_parts[1]] = $value;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment