I would like to modify the ‘Recently Added’ feature of Omeka Classic so that instead of using the date added (which I am guessing it is using) for a record, it instead uses the date modified. I am using the Berlin theme. Any advice?
This basically cobbles together pieces from the recent_items() function and the get_recent_items() function that it uses, then switches it to sort by modified instead of added. $num in the above code is the number of recently updated items to display.
Great! I just noticed a tiny inefficiency in my cobbling, though. Instead of setting the $view variable, you can directly use the view from the theme file: