nawres Posted January 12, 2022 Share Posted January 12, 2022 (edited) Filters are not showing up on backoffice and the number of orders is 0 after upgrade prestashop from 1.7.6.8 to 1.7.8.0 I wish if someone have idea about this , you can see screenshot to understand problem. Edited January 14, 2022 by nawres (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 12, 2022 Share Posted January 12, 2022 Did you clear the cache? What's your PHP version? Try also with module reset. Link to comment Share on other sites More sharing options...
nawres Posted January 12, 2022 Author Share Posted January 12, 2022 1 minute ago, ComGrafPL said: Did you clear the cache? What's your PHP version? Try also with module reset. yes , i clear the cache from folder and backoffice php version : 7.3 wich module to reset ?? Link to comment Share on other sites More sharing options...
nawres Posted January 13, 2022 Author Share Posted January 13, 2022 (edited) the problem was the number of orders , return always 0 😕 Edited January 13, 2022 by nawres (see edit history) Link to comment Share on other sites More sharing options...
nawres Posted January 14, 2022 Author Share Posted January 14, 2022 problem solved : I found that recordTotal reurn always 0 : so changed the query sent by added SELECT count(*) OVER() AS 'Count' on function getSearchQueryBuilder (src/Core/Grid/Query/OrderQueryBuilder.php ) then get Count value by " $records[0]['Count']" on (src/Core/Grid/Data/Factory/OrderGridDataFactory.php) 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