5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-03 10:46:07 +00:00

Merge branch 'blazer' into panel.sutty.nl

This commit is contained in:
f 2022-04-30 14:49:12 -03:00
commit cf62b75cef

View file

@ -36,7 +36,7 @@ class StatCollectionJob < PeriodicJob
#
# @return [ActiveRecord::Relation]
def scope
@scope ||= site.build_stats.jekyll.where('created_at >= ?', beginning_of_interval).group(:site_id)
@scope ||= site.build_stats.jekyll.where('build_stats.created_at >= ?', beginning_of_interval).group(:site_id)
end
# Las opciones por defecto