angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.54k stars 3k forks source link

Optional params included on all similar routes #3835

Closed typhoon2099 closed 2 years ago

typhoon2099 commented 3 years ago

This issue tracker is for Bug Reports and Feature Requests only.

Please direct requests for help to StackOverflow. See http://bit.ly/UIR-SOF for details.

This is a (check one box):

My version of UI-Router is: 1.0.29

Bug Report

Current Behavior:

I have multiple links to the same route, but with different params. The optional params, when present in the URL are appended to all srefs for that route

Expected Behavior:

Only the params defined on the sref is included

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

This does not mean that the issue is invalid. Valid issues may be reopened.

Thank you for your contributions.