nanterre: corrige l'exclusion des fiches actives récemments (#28080)
This commit is contained in:
parent
243e02d795
commit
778ed3f32d
|
@ -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