On a route /index.php?r=customer/index
A view index.php renders a GridView (with search enabled) and an ActiveForm (_form.php)
When user submits ActiveForm the url becomes
/index.php?r=customer/index&activeFormParams
But when a user submits GridView the url becomes
/index.php?GridViewParams&r=customer/index?activeFormParams
Dependent from ActiveForm
If user resubmits ActiveForm the url becomes
/index.php?r=customer/index&activeFormParams
Independent from GridView
Issue:
GridView is not reseting previous querystring params. Upon GridView sumbission I actually want the following url to be generated
/index.php?GridViewParams&r=customer/index?GridViewParams
I want the forms to work either depent or independent from each other.
How do i do that?
The issue may be related to this: http://www.yiiframework.com/wiki/668/form-with-get-method-causes-repeated-stacking-of-url-parameters/