GNOME Bugzilla – Bug 321260
Allow Different Sorting/Order By
Last modified: 2006-02-20 17:47:56 UTC
Distribution/Version: FC4 Select two tags, f-spot returns a query of union of the data. Should be configurable to allow intersection. Possibly also allow a different ORDER BY.
What do you mean by a different ORDER BY? The insersection querying is a duplicate of bug #139796.
The SQL query in PhotoStore.cs has a hardcoded "ORDER BY photo.time". This should be configurable to allow a sort by the other fields: id, time, directory_path, name, description, default_version_id.
Renaming bug to indicate the part of it that is unique.
Created attachment 56894 [details] [review] Patch that allows you to reverse the order of the timeline / directory group selectory Since quite some people requested this on the mailing list, i put together a patch that allows you to reverse the sort order, both when viewing order by month and viewing by month. The sorting can be altered by right-clicking the timeline/directory line and selecting one of two (ascending/descending) sort orders. Currently the setting isn't stored by the preferences, but this should be quite straightforward. Comments are, as always welcome. Regards, Thomas
(In reply to comment #4) > Created an attachment (id=56894) [edit] > Patch that allows you to reverse the order of the timeline / directory group > selectory > > Since quite some people requested this on the mailing list, i put together a > patch that allows you to reverse the sort order, both when viewing order by > month and viewing by month. I second this patch. I think the reverse timeline is in some circumstances not the best solution. E.g. if you want to show somebody the photo collection of the last vacation. Normally you go to the start picture, start full screen mode and press Space or something like that for the next picture. In this case the reverse mode is unpractial. There is a little drawback with this patch: The order seems not to be saved between two starts of f-spot. Nevertheless I want to ask the developers nicely to commit this patch. Thank you very much.
Created attachment 57546 [details] [review] New version of the patch. This patch adds some functionality to the previous version of the patch: * dropdown now has radio menu items * position of glass in selector, the active adaptor and its sort order are stored in preferences
A slightly modified version of the patch has been committed.