fix duplicate pinned alias in get_alias_infos_with_pagination_v3
This commit is contained in:
parent
78cb49095a
commit
ed22701cbe
|
@ -274,7 +274,6 @@ def get_alias_infos_with_pagination_v3(
|
||||||
or_(
|
or_(
|
||||||
EmailLog.created_at == sub.c.max_created_at,
|
EmailLog.created_at == sub.c.max_created_at,
|
||||||
sub.c.max_created_at == None, # no email log yet for this alias
|
sub.c.max_created_at == None, # no email log yet for this alias
|
||||||
Alias.pinned == True,
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue