Change Item Display Order to alphabetical or date


#1

I want to change the default order of a Collection to alphabetical or Date, because the collections have hundreds or thousands of files (one will have 20,00 files) and will be augmented over time, and I don’t want to use the Item Order plugin to keep updating it over time. Where would I find the file where this is specified so I can change it?


#2

The default is specified in application/controllers/ItemsController.php.

This can also be changed with a plugin (thereby not editing the core) but I’m not sure there’s a plugin currently out there that does it. Note that this will change the default sorting for all item browses.


#3

Thanks! I appreciate it.


#4

Ok, what about sorting for search results? ItemsController.php doesn’t seem to effect that.