mirror of https://github.com/morpheus65535/bazarr
Fix a issue when requesting wanted movies
This commit is contained in:
parent
8808c493e8
commit
d0f82198eb
|
@ -1489,7 +1489,7 @@ class MoviesWanted(Resource):
|
|||
postprocessMovie(item)
|
||||
|
||||
count = database.execute("SELECT COUNT(*) as count FROM table_movies WHERE missing_subtitles != '[]'" +
|
||||
get_exclusion_clause('series'), only_one=True)['count']
|
||||
get_exclusion_clause('movie'), only_one=True)['count']
|
||||
|
||||
return jsonify(data=data, total=count)
|
||||
|
||||
|
|
Loading…
Reference in New Issue