yiisoft/yii2 — pull request #972 by cebe (2013-10-13 17:58:23+00:00)
Title: Filter only active attributes in gridview

When we do not want an attribute to be searched we do not define it in
the filter model, or mark it inctive in the scenario when we use the
original model.
GridView should not try to access the attribute then and automatically
not display the filter field.