From 90b69543ccad773ffff581dd929d94502e45cae9 Mon Sep 17 00:00:00 2001 From: Evan Hallmark Date: Mon, 7 Nov 2016 11:53:17 -0800 Subject: Updated pivot_table#pivot_field_for to use the axisPage attr for page fields instead of axisCol --- lib/axlsx/workbook/worksheet/pivot_table.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/axlsx/workbook/worksheet/pivot_table.rb b/lib/axlsx/workbook/worksheet/pivot_table.rb index 71bcde90..7dac7aa3 100644 --- a/lib/axlsx/workbook/worksheet/pivot_table.rb +++ b/lib/axlsx/workbook/worksheet/pivot_table.rb @@ -257,7 +257,7 @@ module Axlsx elsif columns.include? cell_ref '' + '' + '' elsif pages.include? cell_ref - '' + '' + '' + '' + '' + '' elsif data_refs.include? cell_ref '' + '' else -- cgit v1.2.3