Bugas Posted November 14, 2024 Share Posted November 14, 2024 (edited) Hello, i have a little problem with adding a custom column to customers grid. I used hookActionCustomerGridQueryBuilderModifier and hookActionCustomerGridDefinitionModifier... everything works great but only in debug mode. Is there something I should also do? Cache is disabled, but i think it has something to do with cache or pagination, because now when i tested it: when i clicked on second page the grid won't load, I've made $countQueryBuilder = $params['count_query_builder'] which "settings" are the same as $searchQueryBuilder = $params['search_query_builder']; Edited November 14, 2024 by Bugas (see edit history) Link to comment Share on other sites More sharing options...
Daresh Posted November 15, 2024 Share Posted November 15, 2024 Even with disabled smarty cache, there is still a lot of Symfony cache out there. So I would suggest clearing it all. Link to comment Share on other sites More sharing options...
Bugas Posted November 15, 2024 Author Share Posted November 15, 2024 On 11/15/2024 at 6:51 AM, Daresh said: Even with disabled smarty cache, there is still a lot of Symfony cache out there. So I would suggest clearing it all. Expand Hi, thanks Daresh for the reply. I've already cleared /var/cache prod and dev dir... no luck. I mean, I think it definitly has something to do with cache, because when I stop loading the page (1,2,3) and after a while i reload the page - it works. So, I'm wondering is it really that much of a load for Presta to handle: 82k customers left joined by 72k customer card numbers. I think it shouldn't be that much of a problem. Server is a dedicated machine with plenty of power. Link to comment Share on other sites More sharing options...
Daresh Posted November 15, 2024 Share Posted November 15, 2024 Debug mode should require more power and resources to load all the additional tools than the production mode so it's weird indeed. 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