diff --git a/utils/stats_cableurs2.py b/utils/stats_cableurs2.py index 616e3e04..0d2671eb 100755 --- a/utils/stats_cableurs2.py +++ b/utils/stats_cableurs2.py @@ -55,12 +55,12 @@ def adherents(regen=False): @static_var(("data", [])) def factures(regen=False): - """Fonction évaluée paresseusement pour retourner la liste des câbleurs""" + """Fonction évaluée paresseusement pour retourner la liste des factures""" if regen or not factures.data: factures.data = DB.search(u'(&(|(debutAdhesion>=%(now)s)(debutConnexion>=%(now)s))(fid=*))' % { 'now': crans_utils.to_generalized_time_format(config.debut_periode_transitoire), - }, sizelimit=4000) + }, sizelimit=0) return list(factures.data) @static_var(("data", []))