mirror of https://github.com/morpheus65535/bazarr
Merge remote-tracking branch 'origin/development' into development
This commit is contained in:
commit
bd824eb5b4
|
@ -63,6 +63,7 @@ class TableShows(BaseModel):
|
|||
|
||||
|
||||
class TableEpisodes(BaseModel):
|
||||
rowid = IntegerField()
|
||||
audio_codec = TextField(null=True)
|
||||
episode = IntegerField(null=False)
|
||||
failed_attempts = TextField(column_name='failedAttempts', null=True)
|
||||
|
@ -86,6 +87,7 @@ class TableEpisodes(BaseModel):
|
|||
|
||||
|
||||
class TableMovies(BaseModel):
|
||||
rowid = IntegerField()
|
||||
alternative_titles = TextField(column_name='alternativeTitles', null=True)
|
||||
audio_codec = TextField(null=True)
|
||||
audio_language = TextField(null=True)
|
||||
|
|
|
@ -1392,7 +1392,7 @@ def wantedseries():
|
|||
).where(
|
||||
reduce(operator.and_, missing_subtitles_clause)
|
||||
).order_by(
|
||||
TableEpisodes.sonarr_episode_id.desc()
|
||||
TableEpisodes.rowid.desc()
|
||||
).paginate(
|
||||
int(page),
|
||||
page_size
|
||||
|
@ -1436,7 +1436,7 @@ def wantedmovies():
|
|||
).where(
|
||||
reduce(operator.and_, missing_subtitles_clause)
|
||||
).order_by(
|
||||
TableMovies.radarr_id.desc()
|
||||
TableMovies.rowid.desc()
|
||||
).paginate(
|
||||
int(page),
|
||||
page_size
|
||||
|
|
Loading…
Reference in New Issue