Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
Merge branch 'mv-fix-raw-content' into 'master'
Browse files Browse the repository at this point in the history
Read raw_content for questions

See merge request roqua/quby_engine!300
  • Loading branch information
Marten Veldthuis committed Nov 26, 2020
2 parents 00c0d48 + 83cefd1 commit 47853b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/quby/questionnaires/deserializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def self.build_question(questionnaire, item_json, parent: nil, table: nil)
table: table,
col_span: item_json.fetch("col_span"),
row_span: item_json.fetch("row_span"),
raw_content: item_json.fetch("raw_content", nil),

# only selectable via options passed in DSL, not via DSL methods
# many apply only to certain types of questions
Expand Down Expand Up @@ -438,4 +439,4 @@ def self.deserialize_range(range_attributes)
end
end
end
end
end

0 comments on commit 47853b3

Please sign in to comment.