mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-16 23:39:44 +02:00
Fixed: Sorting by movie titles in Missing/Cutoff Unmet under Postgres
This commit is contained in:
parent
dc068bbf3d
commit
2e3beddcbc
@ -250,7 +250,8 @@ public List<Movie> MoviesBetweenDates(DateTime start, DateTime end, bool include
|
|||||||
|
|
||||||
public SqlBuilder MoviesWithoutFilesBuilder() => Builder()
|
public SqlBuilder MoviesWithoutFilesBuilder() => Builder()
|
||||||
.Where<Movie>(x => x.MovieFileId == 0)
|
.Where<Movie>(x => x.MovieFileId == 0)
|
||||||
.GroupBy<Movie>(e => e.Id);
|
.GroupBy<Movie>(m => m.Id)
|
||||||
|
.GroupBy<MovieMetadata>(m => m.Id);
|
||||||
|
|
||||||
public PagingSpec<Movie> MoviesWithoutFiles(PagingSpec<Movie> pagingSpec)
|
public PagingSpec<Movie> MoviesWithoutFiles(PagingSpec<Movie> pagingSpec)
|
||||||
{
|
{
|
||||||
@ -263,7 +264,8 @@ public PagingSpec<Movie> MoviesWithoutFiles(PagingSpec<Movie> pagingSpec)
|
|||||||
public SqlBuilder MoviesWhereCutoffUnmetBuilder(List<QualitiesBelowCutoff> qualitiesBelowCutoff) => Builder()
|
public SqlBuilder MoviesWhereCutoffUnmetBuilder(List<QualitiesBelowCutoff> qualitiesBelowCutoff) => Builder()
|
||||||
.Where<Movie>(x => x.MovieFileId != 0)
|
.Where<Movie>(x => x.MovieFileId != 0)
|
||||||
.Where(BuildQualityCutoffWhereClause(qualitiesBelowCutoff))
|
.Where(BuildQualityCutoffWhereClause(qualitiesBelowCutoff))
|
||||||
.GroupBy<Movie>(e => e.Id);
|
.GroupBy<Movie>(m => m.Id)
|
||||||
|
.GroupBy<MovieMetadata>(m => m.Id);
|
||||||
|
|
||||||
public PagingSpec<Movie> MoviesWhereCutoffUnmet(PagingSpec<Movie> pagingSpec, List<QualitiesBelowCutoff> qualitiesBelowCutoff)
|
public PagingSpec<Movie> MoviesWhereCutoffUnmet(PagingSpec<Movie> pagingSpec, List<QualitiesBelowCutoff> qualitiesBelowCutoff)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user