Video-hub-app: Sorting by Date Modified in Folder View Doesn't Work

Created on 21 Feb 2020  路  4Comments  路  Source: whyboris/Video-Hub-App

Sorting by Date Modified in Folder View used to work, but it no longer does.

Ideally this should sort by the folders by the latest video in each folder. 馃悶

bug regression

All 4 comments

Interesting 馃 -- I don't remember messing with anything that should affect things ...
Last PRs that touched the sorting.pipe.ts: #367 & #363 (4 & 8 days ago)
Any idea when the issue started?

馃槄 I'm unsure if it ever was able to sort by date 馃
https://github.com/whyboris/Video-Hub-App/blob/master/src/app/pipes/folder-view.pipe.ts#L21

I think this is where things would happen, and we manually, explicitly, have to track things. Currently all we track is:

  • totalFileSize
  • totalDuration
  • starAverage

I think sorting by _date modified_ would be excellent (and not too hard) 馃帀

I believe this did work, before you rewrote my code with a clearer, better version! 馃殌

It's a valuable feature worth implementing! 馃槃

That makes sense 馃憤
This feature should be easy to add (simply tracking the latest timestamp and putting it as a property on a folder). I'll code it up sometime this week 馃榿

Cheers 馃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

whyboris picture whyboris  路  6Comments

whyboris picture whyboris  路  5Comments

cal2195 picture cal2195  路  6Comments

whyboris picture whyboris  路  3Comments

cal2195 picture cal2195  路  5Comments