Commit ee3765b4 authored by tim.plunkett's avatar tim.plunkett Committed by tim.plunkett
Browse files

Issue #1548948 by damiankloip, tim.plunkett: Fixed Add ability for field...

Issue #1548948 by damiankloip, tim.plunkett: Fixed Add ability for field handlers to declare whether they can be 'grouped by' or not.
parent 9d2aac81
......@@ -985,7 +985,8 @@ function get_field_labels() {
// Use func_get_arg so the function signature isn't amended
// but we can still pass TRUE into the function to filter
// by groupable handlers.
$groupable_only = func_get_arg(0);
$args = func_get_args();
$groupable_only = isset($args[0]) ? $args[0] : FALSE;
$options = array();
foreach ($this->get_handlers('relationship') as $relationship => $handler) {
......
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