Browse Collections Sort Order

Hi -
I would like to use Browse Collections as my home page.
However, the only way to get the Collections to sort descending by title is to add the query string to the url:
/collections/browse?sort_field=Dublin+Core%2CTitle&sort_dir=d
I’m using the Default Sort plugin, but it does not work on the Collection Browse page (which defaults to sorting by date added).
Is there any way to set the default sort in browse.php so I would not need to use the query string on my home page?
Thanks,
David

A quick look on the Default Sort plugin page on GitHub shows that the plugin should work for collections as well. Which versions of the plugin and Omeka you use?

Hi -
My Omeka version is 2.7.1
I’m using the Default Sorti plugin from GitHub (https://github.com/anuragji/DefaultSort). There is only one published version.
Setting it for Collections has no effect on the browse page for Collections.
Thanks,
David

I think you should ask the question directly to the plugin developers on GitHub.
On the plugin page, there is an issue for the collections sorting problem (https://github.com/anuragji/DefaultSort/issues/7) , and looks like it is solved by the latest pull request.

2 Likes

Thanks - that did it.
I applied patch #4 (https://github.com/DBinaghi/DefaultSort/tree/patch-4)
The patch hasn’t been Merged into the plugin yet.
Thanks again,
David