File Manager - Changing pagination settings

Permalink
By default, the file manager displays 10 results at a time. I wanted to bump that to 25. I did a global search for every reference to protected $itemsPerPage = 10; and changed the number to 25. However, when I select a set, it reverts to 10 results per page. Does anyone know where I can find the code for the filtered results?

Also, am I even doing this the right way? I know it's not a good idea to modify core files, but I couldn't find another place where I could affect the results pagination.

Thanks

 
jordanlev replied on at Permalink Reply
jordanlev
Which version of Concrete5 are you using? I just tested this out on a 5.4.1.1 site and if you change the "Results Per Page" dropdown to 25 (or whatever), it stays at that number even when choosing other file sets.
Metaglyphics replied on at Permalink Reply
I'm also on 5.4.1.1. Where is the "Results per page" dropdown?

Thanks
jordanlev replied on at Permalink Reply 1 Attachment
jordanlev
See attached screenshot
Metaglyphics replied on at Permalink Reply
Ah that. Yes, that dropdown change stays for the remainder of the session. But the next time you log in, it reverts to 10.
Metaglyphics replied on at Permalink Reply
I suppose one could edit the search_form_advanced.php to remove 10 from the list of options, thus causing the default to be 25. But again, that would be a core modification that could be lost during a future upgrade... Still, I don't see a safer place to make such a change.

Thanks