- Issue created by @dnt
Currently only the initial ordering works. A later ordering by clicking the column header fails.
Create a view with a sortable field and try to sort by it.
The problem is this line of code. When $field
is NULL
the call of CMRFViewsFieldNameUtil::normalize()
fails because it requires a string
and doesn't accept NULL
.
This line should be:
$alias = '' === $alias ? $field : $this->getFieldByAlias($alias);
Active
2.1
Code