nanterre: corrige l'exclusion des fiches actives récemments (#28080)
This commit is contained in:
parent
934f47129d
commit
e2e73eb514
|
@ -46,9 +46,9 @@ class Inactivity(object):
|
|||
|
||||
def exclude_newer_than_threshold(self, qs, threshold):
|
||||
return qs.exclude(
|
||||
created__created__gte=threshold,
|
||||
modified__created__gte=threshold,
|
||||
log__timestamp__gte=threshold)
|
||||
Q(created__created__gte=threshold) |
|
||||
Q(modified__created__gte=threshold) |
|
||||
Q(log__timestamp__gte=threshold))
|
||||
|
||||
@property
|
||||
def query_no_federation(self):
|
||||
|
|
Loading…
Reference in New Issue