Skip to content

Commit 4160a30

Browse files
committed
Don't apply jamcharts to soundchecks
1 parent e7ffeb2 commit 4160a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/jamcharts_importer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def handle_item(item, show) # rubocop:disable Metrics/AbcSize, Metrics/MethodLen
7474
song = find_song_by_title(item["song"])
7575
return if handle_ambiguous_item(item)
7676

77-
show.tracks.sort_by(&:position).each do |track|
77+
show.tracks.where.not(set: "S").sort_by(&:position).each do |track|
7878
next if song.nil?
7979

8080
st = SongsTrack.where(song_id: song.id, track_id: track.id).first

0 commit comments

Comments
 (0)