mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 04:51:45 +02:00
Sort episodes in calendar by ep nr if airdate is the same.
This commit is contained in:
@@ -160,7 +160,8 @@ module.exports = Marionette.ItemView.extend({
|
||||
allDay : false,
|
||||
statusLevel : self._getStatusLevel(model, end),
|
||||
downloading : QueueCollection.findEpisode(model.get('id')),
|
||||
model : model
|
||||
model : model,
|
||||
sortOrder : (model.get('seasonNumber') == 0 ? 1000000 : model.get('seasonNumber') * 10000) + model.get('episodeNumber')
|
||||
};
|
||||
|
||||
events.push(event);
|
||||
|
Reference in New Issue
Block a user