MuckRock / documentcloud-frontend

DocumentCloud's front end source code - Please report bugs, issues and feature requests to info@documentcloud.org
https://www.documentcloud.org
GNU Affero General Public License v3.0
15 stars 5 forks source link

Allow ordering by document attributes, not just creation_date in project embeds #286

Open duckduckgrayduck opened 1 year ago

duckduckgrayduck commented 1 year ago

Currently, in project embeds, you can only order by creation_date like so: https://embed.documentcloud.org/projects/illinois-tifs-2020-210985/?embed=1&order=created_at you cannot however order by title, despite being able to sort by title in the search view.

evilevel commented 12 months ago

Yes, would be great to have the 'sort by title' back! At our website SpecialBranchFiles.uk, built before this option was thrown out, the file overviews still have 'in chronological order' in the heading. And I certainly remember accustoming all titles with dates in reverse to allow the listing turn out this way! Anyway, we're now building a new and large website, and we do intend to use the embedding function again! To align the options with the search function's document attributes would be great! eveline