seedsync
seedsync copied to clipboard
Sort by Date Modified (Feature Request)
Not being able to sort by (remote) date modified makes SeedSync really hard to use for me, as I'm not looking to mirror all my files. It's easier to just use the lftp CLI. So this issue is a feature request.
Tried looking to see how hard it would be to add this, but I'm not a coder and I couldn't get it to build with all the crazy multi-target docker stuff. I'd also be curious to know, would this even have worked?
Adding to src/angular/src/app/services/files/view-file-sort.service.ts
:
-
const ModifiedDescendingComparator: ViewFileComparator = (a: ViewFile, b: ViewFile): number => { return b.remote_modified_timestamp.localeCompare(a.remote_modified_timestamp); };
-
} else if (this._sortMethod === ViewFileOptions.SortMethod.MOD_DESC) { this._viewFileService.setComparator(ModifiedDescendingComparator); this._logger.debug("Comparator set to: Mod Desc");