jmauclair Posted April 19, 2023 Share Posted April 19, 2023 Hi guys, I've tried to sort orders by new customers only and this happened : How can I remove the fact that the order is sorted this way ? Because I can't go to the order page anymore Link to comment Share on other sites More sharing options...
AddWeb Solution Posted April 21, 2023 Share Posted April 21, 2023 On 4/19/2023 at 8:22 PM, jmauclair said: I've tried to sort orders by new customers only and this happened : I think You will need to modify the SQL query which you used to sort orders by New customers. In BO SQL Manager, Do you see ORDER BY {$orderBy} {$orderWay} line in the query? Link to comment Share on other sites More sharing options...
JulienPct Posted September 1, 2023 Share Posted September 1, 2023 On 4/21/2023 at 7:45 AM, AddWeb Solution said: I think You will need to modify the SQL query which you used to sort orders by New customers. In BO SQL Manager, Do you see ORDER BY {$orderBy} {$orderWay} line in the query? Hello, Versions : PS 1.7.7.2 and PHP 7.2 I have the same problem but after activating the debug mode, I see that the error is present in the Prestashop source / vendor files. The request is not present in the BO but is native to PS. Do you have any idea how to deal with this error? Link to comment Share on other sites More sharing options...
jmauclair Posted September 23, 2023 Author Share Posted September 23, 2023 (edited) Hi, I've finaly found my way by : - Disabling the debug mode - Creating a new user in the back office (Advanced parameters -> Team ) - Go to the order tab, use a random filter - Inspect the reset button (with the Chrome Devtools for example ) - Get the data-url of the element - Go back to your stucked account - With chrome devtools, edit the body of your page Add this : <form action="[THE_URL]" method="POST"> <button type="submit">Repare</button> </form> Click the repare button and it might work again PS : if it doesn't work, just get the token from your current url and modifiy the token of the action url Edited September 23, 2023 by jmauclair Might edit the token lol (see edit history) Link to comment Share on other sites More sharing options...
ps8modules Posted September 23, 2023 Share Posted September 23, 2023 Hi Simply delete the desired filter in the database and ps_admin_filter table. 1 Link to comment Share on other sites More sharing options...
jmauclair Posted September 23, 2023 Author Share Posted September 23, 2023 2 minutes ago, ps8moduly.cz said: Hi Simply delete the desired filter in the database and ps_admin_filter table. Undeniably a better fix, in case you can access the DB Link to comment Share on other sites More sharing options...
Sebastien MAS Posted January 3 Share Posted January 3 Great solution to modify the base for resetting the filter. Thank you and happy new year 2024 1 Link to comment Share on other sites More sharing options...
Yoan Consultin Web Posted June 7 Share Posted June 7 Hello, I have the same problem for a customer, and reset the admin_filter table don't works good this fonctiunality. If you can help, I were so happy 😉 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now