Module: Tasks::Gis::MatchGeoreferenceHelper

Defined in:
app/helpers/tasks/gis/match_georeference_helper.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) collecting_events_count_using_this_georeference(gr)



2
3
4
# File 'app/helpers/tasks/gis/match_georeference_helper.rb', line 2

def collecting_events_count_using_this_georeference(gr)
  Georeference.where(geographic_item_id: gr).with_project_id(sessions_current_project_id).pluck(:collecting_event_id).count
end