I have DocumentSearch
model (that extends Document
model) in Yii2. When I search, $_GET params are like /index.php?DocumentSearch[id]=4&DocumentsSearch[name]=Test
Q: How to replace DocumentSearch[id]
param into id
and all other attributes? I don't like this way