Skip to content

Commit 4ed0daf

Browse files
committed
Merge pull request #73 from openstax/fix_cnxmod_tags
Fix lack of cnxmod tags in import result
2 parents f9f65e3 + 080bc9f commit 4ed0daf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/routines/exercises/import/row_importer.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ def perform_row_import(row, index)
9494
requires_choices_tag = "requires-choices:#{row[12]}"
9595

9696
ex.tags = book_tags + lo_tags + type_tags + \
97-
[id_tag, dok_tag, blooms_tag, time_tag, display_tag, requires_choices_tag]
97+
[id_tag, cnxmod_tag, dok_tag, blooms_tag, time_tag,
98+
display_tag, requires_choices_tag]
9899

99100
latest_exercise = Exercise.joins([:publication, exercise_tags: :tag])
100101
.where(exercise_tags: {tag: {name: id_tag}})

0 commit comments

Comments
 (0)