Sort and search column when I'm querying with findbysql in yii2
问题 I'm searching four tables and joined them and got the output I want. But unable to sort or filter the output. Please tell me how I can search it by district or a sell range or collection range. PartiesSearch model is - <?php namespace frontend\modules\districtreport\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use frontend\modules\districtreport\models\Parties; use frontend\modules\districtreport\models\Bills; use frontend\modules\districtreport\models\Payment; use