Skip to content

Commit

Permalink
fix: fix time based graph when timezone is different with database (#476
Browse files Browse the repository at this point in the history
)
  • Loading branch information
GuillaumeCisco committed Jun 1, 2021
1 parent 9c2aa7e commit 5d9fb89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/forest_liana/line_stat_getter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_format
end

def perform
value = get_resource().eager_load(@includes)
value = get_resource().joins(@includes)

unless @params[:filters].blank?
value = FiltersParser.new(@params[:filters], value, @params[:timezone]).apply_filters
Expand Down

0 comments on commit 5d9fb89

Please sign in to comment.