Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/blame/commit/46e3dafd441cb15cd0e48093afb3a5714eb7bba5/UI/Series/SeasonCollection.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Radarr/UI/Series/SeasonCollection.js

26 lines
714 B

'use strict';
define(
[
'backbone',
'Series/SeasonModel'
], function (Backbone, SeasonModel) {
return Backbone.Collection.extend({
url : window.ApiRoot + '/season',
model: SeasonModel,
12 years ago
comparator: function (season) {
return -season.get('seasonNumber');
},
12 years ago
bySeries: function (series) {
var filtered = this.filter(function (season) {
return season.get('seriesId') === series;
});
var SeasonCollection = require('Series/SeasonCollection');
return new SeasonCollection(filtered);
}
});
});