I hate have to click from page to page in the Package Manager all the time. Is there some way to change the default number to show per page? It sure would be nice to have this as a system setting. I use both Revo 2.2.14 and 2.3.1.
-
☆ A M B ☆
- 24,524 Posts
At least in 2.3.1 there is a "per page" option at the bottom of the page. This is only temporary, however.
The default of 10 is hard-coded on line 86 of manager/assets/modext/workspace/package.grid.js. There are other files that also hard-code the same value, but this one seems to have the desired effect if you change its value.
That should really be changed to use the default_per_page System Setting. It drives me crazy and I consider it a bug.
Changing it to this worked for me (once I manually deleted the core/cache files):
,pageSize: config.pageSize || (parseInt(MODx.config.default_per_page) || 20)