Closed pmithrandir closed 11 years ago
Hi,
Yes that's true. If you use the Pager service, you need to write/import everything by yourself. macros.html.twig is just an helper file with default design.
Maybe we could add two more macros : stylesheets() and javascripts()
Corrected with commit adb3ea3a9f87025f64ee97df8771061ec1483b76
Hello.
To make the system works, we need to have the javascript and css file imported. They are in datagrid, but I don't think in Pager.(macros.html.twig) The result is that the pager doesn't allow the user to use the scripts.
I got the javascript error : hideFiltersOpts is not defined
An easy patch for users is to import these file in the final template in your system.
Thanks, Pierre