commit
957b5373bc
|
@ -1800,9 +1800,11 @@ define([
|
||||||
item.setChecked(checked, true);
|
item.setChecked(checked, true);
|
||||||
if (checked) isCustomConditions = false;
|
if (checked) isCustomConditions = false;
|
||||||
});
|
});
|
||||||
else if ((isPivot || !isTextFilter) && (cond1 == Asc.c_oAscCustomAutoFilter.isGreaterThanOrEqualTo && cond2 == Asc.c_oAscCustomAutoFilter.isLessThanOrEqualTo ||
|
else if ((isPivot || !isTextFilter) && (cond1 == Asc.c_oAscCustomAutoFilter.isGreaterThanOrEqualTo && cond2 == Asc.c_oAscCustomAutoFilter.isLessThanOrEqualTo)){
|
||||||
cond1 == Asc.c_oAscCustomAutoFilter.isLessThanOrEqualTo && cond2 == Asc.c_oAscCustomAutoFilter.isGreaterThanOrEqualTo)){
|
items[isPivot && !isValueFilter ? 13 : 6].setChecked(true, true); // between filter
|
||||||
items[6].setChecked(true, true); // between filter
|
isCustomConditions = false;
|
||||||
|
} else if (isPivot && (cond1 == Asc.c_oAscCustomAutoFilter.isLessThan && cond2 == Asc.c_oAscCustomAutoFilter.isGreaterThan)) {
|
||||||
|
items[!isValueFilter ? 14 : 7].setChecked(true, true); // not between filter
|
||||||
isCustomConditions = false;
|
isCustomConditions = false;
|
||||||
}
|
}
|
||||||
if (isCustomConditions)
|
if (isCustomConditions)
|
||||||
|
|
|
@ -133,7 +133,7 @@ define([ 'text!spreadsheeteditor/main/app/template/PivotSettingsAdvanced.temp
|
||||||
this.numWrap = new Common.UI.MetricSpinner({
|
this.numWrap = new Common.UI.MetricSpinner({
|
||||||
el: $('#pivot-adv-spin-wrap'),
|
el: $('#pivot-adv-spin-wrap'),
|
||||||
step: 1,
|
step: 1,
|
||||||
width: 85,
|
width: 60,
|
||||||
allowDecimal: false,
|
allowDecimal: false,
|
||||||
defaultUnit : "",
|
defaultUnit : "",
|
||||||
value: '0',
|
value: '0',
|
||||||
|
|
Loading…
Reference in a new issue