mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
Removed extraneous filtering code from series index
This commit is contained in:
@@ -257,7 +257,6 @@ define(
|
|||||||
|
|
||||||
onShow: function () {
|
onShow: function () {
|
||||||
this._showToolbar();
|
this._showToolbar();
|
||||||
this._renderView();
|
|
||||||
this._fetchCollection();
|
this._fetchCollection();
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -295,8 +294,6 @@ define(
|
|||||||
this.toolbar2.close();
|
this.toolbar2.close();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this._resetFilter();
|
|
||||||
|
|
||||||
this.seriesRegion.show(this.currentView);
|
this.seriesRegion.show(this.currentView);
|
||||||
|
|
||||||
this._showToolbar();
|
this._showToolbar();
|
||||||
@@ -314,18 +311,6 @@ define(
|
|||||||
this.seriesCollection.setFilterMode(mode);
|
this.seriesCollection.setFilterMode(mode);
|
||||||
},
|
},
|
||||||
|
|
||||||
_resetFilter: function () {
|
|
||||||
var key = this.seriesCollection.state.filterKey;
|
|
||||||
var value = this.seriesCollection.state.filterValue;
|
|
||||||
|
|
||||||
this.seriesCollection.setFilter([ null, null ]);
|
|
||||||
this.seriesCollection.setFilter([ key, value ]);
|
|
||||||
},
|
|
||||||
|
|
||||||
_shadowTest: function () {
|
|
||||||
window.alert('added to shadow');
|
|
||||||
},
|
|
||||||
|
|
||||||
_showToolbar: function () {
|
_showToolbar: function () {
|
||||||
|
|
||||||
if (this.toolbar.currentView) {
|
if (this.toolbar.currentView) {
|
||||||
|
Reference in New Issue
Block a user