summaryrefslogtreecommitdiff
path: root/pivotTable.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-02-13 00:06:30 +0800
committerxuri <xuri.me@gmail.com>2022-02-13 00:06:30 +0800
commit4b64b26c52932a51ca97a2bb6bf372a07020e52b (patch)
tree0d5b88ab9db7b459de73e65b022871ef69fe2cd6 /pivotTable.go
parent3f8f4f52e68d408da5a2e5108af3cc99bf8586bc (diff)
Ref: #660, #764, #1093, #1112, #1133 This improve number format support
- Introduced NFP (number format parser) dependencies module - Initialize custom dates and times number format support - Dependencies module upgraded
Diffstat (limited to 'pivotTable.go')
-rw-r--r--pivotTable.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pivotTable.go b/pivotTable.go
index d30eeb1..d7e9c94 100644
--- a/pivotTable.go
+++ b/pivotTable.go
@@ -632,7 +632,7 @@ func (f *File) getPivotFieldsIndex(fields []PivotTableField, opt *PivotTableOpti
return pivotFieldsIndex, err
}
for _, field := range fields {
- if pos := inStrSlice(orders, field.Data); pos != -1 {
+ if pos := inStrSlice(orders, field.Data, true); pos != -1 {
pivotFieldsIndex = append(pivotFieldsIndex, pos)
}
}