We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I'll be brief. There is an issue with 0.2.17 #when navigating to a nested view, and the parent has querystrings but the child doesn't.
Here are my states:
$stateProvider.state('data-management', { title:'Data Management', root:true, url:'/data-management', templateUrl:'/templates/data-management/data-management.html', controller:'default', roles:['DataManagement_Read'], resolve:loggedInResolves }) .state('data-management.portfolios-and-benchmarks', { url:'/portfolios-and-benchmarks?effectiveDate?open?filters?page?sort?size?logic', roles:['DataManagement_Read'], reloadOnSearch:false, templateUrl:'/templates/data-management/portfolios-and-benchmarks/index.html', abstract:true }) .state('data-management.portfolios-and-benchmarks.index', { title:'Portfolios & Benchmarks', url:'', roles:['DataManagement_Read'], reloadOnSearch:false, templateUrl:'/templates/data-management/portfolios-and-benchmarks/portfolios-and-benchmarks.html', controller:'portfolios-and-benchmarks' }) .state('data-management.portfolios-and-benchmarks.portfolio', { title:'', url:'/{compositionCode:composition}', templateUrl:'/templates/data-management/portfolios-and-benchmarks/portfolio.html', controller:'portfolio', roles:['DataManagement_Read'], reloadOnSearch:false });
Now when using either $state.go() or $state.href() like so:
$state.go()
$state.href()
$state.href('data-management.portfolios-and-benchmarks.portfolio', {compositionCode:dataItem.CompositionCode, effectiveDate:$state.params.effectiveDate, filters:null, logic:null, page:1, size:20})
it generates this URI: /data-management/portfolios-and-benchmarks?effectiveDate=TODAY&page=1&size=20/75735X
/data-management/portfolios-and-benchmarks?effectiveDate=TODAY&page=1&size=20/75735X
Instead of this one: /data-management/portfolios-and-benchmarks/75735X?effectiveDate=TODAY&page=1&size=20
/data-management/portfolios-and-benchmarks/75735X?effectiveDate=TODAY&page=1&size=20
Cheers,
Ash
The text was updated successfully, but these errors were encountered:
Disregard this. I was using the angular-ui-router.js in the build/ directory and not in the release/ directory.
angular-ui-router.js
build/
release/
Also a duplicate of #2504.
Apologies.
Sorry, something went wrong.
BTW, #2504 is fixed in master
master
No branches or pull requests
Hello,
I'll be brief. There is an issue with 0.2.17 #when navigating to a nested view, and the parent has querystrings but the child doesn't.
Here are my states:
Now when using either
$state.go()
or$state.href()
like so:it generates this URI:
/data-management/portfolios-and-benchmarks?effectiveDate=TODAY&page=1&size=20/75735X
Instead of this one:
/data-management/portfolios-and-benchmarks/75735X?effectiveDate=TODAY&page=1&size=20
Cheers,
Ash
The text was updated successfully, but these errors were encountered: