Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -218,7 +218,7 @@ module Kanjai | @@ -218,7 +218,7 @@ module Kanjai | ||
| 218 | when 'text' | 218 | when 'text' |
| 219 | subparts << self.replace_text_marker(item[:source], hash_value) | 219 | subparts << self.replace_text_marker(item[:source], hash_value) |
| 220 | when 'repeat' | 220 | when 'repeat' |
| 221 | - repeat_item_index = value['REPEAT_ITEM_INDEX'] || 1 | 221 | + repeat_item_index = hash_value['REPEAT_ITEM_INDEX'] || 1 |
| 222 | repeat_id = item[:attributes]['id'] | 222 | repeat_id = item[:attributes]['id'] |
| 223 | scope = @page_content.page_content_markers.where(repeat_id: repeat_id) | 223 | scope = @page_content.page_content_markers.where(repeat_id: repeat_id) |
| 224 | if hash_value && hash_value['PARENT_ITEM_ID'].present? | 224 | if hash_value && hash_value['PARENT_ITEM_ID'].present? |