-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
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
Correct the customer details page link - PS 1.7.7.0 #122
Conversation
moncef-essid
commented
Dec 26, 2020
•
edited by hibatallahAouadni
Loading
edited by hibatallahAouadni
Questions | Answers |
---|---|
Description? | The link to the customer details page is broken because the Link::getAdminLink() return the new format link not compatible with legacy params. By the way, Link::getAdminLink() have to be corrected, it return always an url with token, although, the second param setted to false. |
Type? | bug fix |
BC breaks? | no |
Deprecations? | no |
Fixed ticket? | FIxes PrestaShop/PrestaShop#23323 |
How to test? | tested within PS 1.7.6.9 and 1.7.7.0 |
Get admin link by smarty helper and passed it to js variable, then use it within the vue.js foreach loop with the correct customer id
Use "customer_link" with the contextual "id_customer" taken from the Vue.js loop
Link::getAdminLink() have to be corrected, it return always an url with token, although, the second param to false
(Sorry for the delay 🙄 ) |
Hello @moncef-essid , Thanks for the PR, checking with the developer if the CI was OK for the checks. |
ping @PierreRambaud , I see that the checks are not successful, is everything OK with the CI ? Thanks! |
It's not related to the PR I think, and it only concerns linter. Feel free to test it :) |
Hello all, Thanks for the PR @moncef-essid , it is QA approved ! @PierreRambaud thanks :) |
Waiting for #148 to be merged so the CI is happy |
Thanks @moncef-essid & @atomiix |