Increase the number of file sets displayed on dashboard?

Permalink
Hi all,
is there actually a way to increase the default number (10) of displayed file sets in the backend (dashboard)?
Or, is there a way to completely disable the pagination of file sets on the dashboard, just to get ALL file sets displayed?

(concrete5 5.6.3.1)

Thank you,
Michael

okapi
 
Remo replied on at Permalink Reply
Remo
This is currently hard-coded, the method getPage uses the default value:
https://github.com/concrete5/concrete5/blob/master/web/concrete/core...

You'd have to override the controller...
Remo replied on at Permalink Reply
Remo
I'd have said it's 20 items per page, not 10?
https://github.com/concrete5/concrete5/blob/master/web/concrete/core...
JohntheFish replied on at Permalink Reply
JohntheFish
I can see how 10 arrived back in the dark ages, but its an annoyingly small amount now on many listing pages.

It should at least have a default value that sites can override by a config/site constant or by a dashboard option saved in the Config table.

Ideally, the default should have further options to set the page size on the actual listing page.
okapi replied on at Permalink Reply
okapi
For file set items, it's only 10 (why 20, Remo?), and i totally agree with what JohntheFish is saying, but i have very little hope that the core team is interested in working on issues like that for 5.6, since they are heavily focusing on 5.7 now...
Remo replied on at Permalink Reply
Remo
I assumed the default value of 20 wins (see link above), but it seems like that value was overridden by 10 in this filehttps://github.com/concrete5/concrete5/blob/master/web/concrete/core...

No clue why there's just 10, 20 would have made a bit more sense as it's the default value concrete5 uses in all database item lists.. Not that this really helps in your case, just saying.
okapi replied on at Permalink Reply
okapi
Remo, please could you give me a hint how to properly override concrete/core/models/file_set.php? Simply copying the modified file_set.php to root/models results in an error. I have no clue, what other files have to be copied to root directories to make that override complete and working...?