fix row merge
This commit is contained in:
@@ -179,6 +179,8 @@ def export_selected(request: HttpRequest, queryset: QuerySet[WeekPreference]) ->
|
||||
start_column=max(merge_col_start,1),
|
||||
end_column=max(c-1,1)) # end merge to previous column
|
||||
prev_cell_val = cell_content
|
||||
if c >= note_index - 1: # Do not merge beyond notes
|
||||
break
|
||||
|
||||
# Incement row counter
|
||||
row_offset += 1
|
||||
|
||||
Reference in New Issue
Block a user