summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/axlsx/workbook/worksheet/auto_filter/auto_filter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/auto_filter/auto_filter.rb b/lib/axlsx/workbook/worksheet/auto_filter/auto_filter.rb
index c2b31156..4cf98ad7 100644
--- a/lib/axlsx/workbook/worksheet/auto_filter/auto_filter.rb
+++ b/lib/axlsx/workbook/worksheet/auto_filter/auto_filter.rb
@@ -52,7 +52,7 @@ module Axlsx
def to_xml_string(str='')
return unless range
str << "<autoFilter ref='#{range}'>"
- colums.each { |filter_column| filter_column.to_xml_string(str) }
+ columns.each { |filter_column| filter_column.to_xml_string(str) }
str << "</autoFilter>"
end