You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/7350
User: @27cm
Created On: 2015-03-20T07:41:10Z
Updated At: 2015-11-06T20:58:33Z
Body
There is no easy way to reuse query arguments via url view helper or controller plugin. If current page has some query arguments (a view template doesn't know about them) and it's necessary to create url to this page, remove some query arguments or/and add some other arguments.
For example current page is /blog?sort=date&order=asc
It's necessary to create url /blog?sort=date&order=asc&page=2 - add argument page=2 and save other arguments, if they were.
Now current page is /blog?sort=date&order=asc&page=2
It's necessary to create url /blog?sort=date&order=asc - remove argument page and save other arguments, if they were.
This issue has been moved from the
zendframework
repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.htmlOriginal Issue: https://api.github.com/repos/zendframework/zendframework/issues/7350
User: @27cm
Created On: 2015-03-20T07:41:10Z
Updated At: 2015-11-06T20:58:33Z
Body
There is no easy way to reuse query arguments via url view helper or controller plugin. If current page has some query arguments (a view template doesn't know about them) and it's necessary to create url to this page, remove some query arguments or/and add some other arguments.
For example current page is
/blog?sort=date&order=asc
It's necessary to create url
/blog?sort=date&order=asc&page=2
- add argumentpage=2
and save other arguments, if they were.Now current page is
/blog?sort=date&order=asc&page=2
It's necessary to create url
/blog?sort=date&order=asc
- remove argumentpage
and save other arguments, if they were.To realize it I rewrote Url View Helper. But it isn't a good solution. I think it's necessary to go deeper, to Route.
So I would like to discuss this feature.
The text was updated successfully, but these errors were encountered: