Added tests for Query::filter()
fixes #2002
Merge branch 'master'
Merge branch 'master'
Query::filter() adjustments
Merge branch 'master'
Gii CRUD generator now uses new addFilter method
Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
Adjusted search model code generated by Gii CRUD generator
Added info about table prefix syntax to the guide
Corrected theming docs not to give an example of theme view files under webroot
Update ActiveRecord.php

fix for https://github.com/yiisoft/yii2/pull/2958
Merge pull request #2962 from githubjeka/patch-1

add @method hasOne|hasMany declaration in yii\db\ActiveRecord.
added andOnCondition and orOnCondition to ActiveQuery

fixes #2957
doc fix [skip ci]
reverted elasticsearch rename of filter
renamed Query::filter() to Query::filterWhere()
typo
adjusted tests
removed unnecessary code duplication