Closed godanny86 closed 4 years ago
Describe the bug The "back" button the asset details page only works the first time.
Environment
To Reproduce Steps to reproduce the behavior:
Expected behavior The search result should be maintained until the user performs a new search.
Screenshots This looks to be an issue with the local storage of the returnUrl in that it gets reset the 2nd time:
Additional context Would need to revisit the javascript that populates the returnUrl in local storage: https://github.com/Adobe-Marketing-Cloud/asset-share-commons/blob/develop/ui.apps/src/main/content/jcr_root/apps/asset-share-commons/clientlibs/clientlib-site/js/navigation.js
I'll take this issue on and fix it.
This issue is now fixed.
Thanks @schmidtkevina !
Describe the bug The "back" button the asset details page only works the first time.
Environment
To Reproduce Steps to reproduce the behavior:
Expected behavior The search result should be maintained until the user performs a new search.
Screenshots This looks to be an issue with the local storage of the returnUrl in that it gets reset the 2nd time:
Additional context Would need to revisit the javascript that populates the returnUrl in local storage: https://github.com/Adobe-Marketing-Cloud/asset-share-commons/blob/develop/ui.apps/src/main/content/jcr_root/apps/asset-share-commons/clientlibs/clientlib-site/js/navigation.js