From 51df4af4217e525a6e1889e6bcdef72de47cfe01 Mon Sep 17 00:00:00 2001 From: Sergey Konovalov Date: Thu, 13 Nov 2025 20:59:51 +0300 Subject: [PATCH] [se] Fix TypedMapCache.getData endIndex --- cell/model/FormulaObjects/lookupandreferenceFunctions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cell/model/FormulaObjects/lookupandreferenceFunctions.js b/cell/model/FormulaObjects/lookupandreferenceFunctions.js index f35d2f12a6..3eaeed37cd 100644 --- a/cell/model/FormulaObjects/lookupandreferenceFunctions.js +++ b/cell/model/FormulaObjects/lookupandreferenceFunctions.js @@ -2932,8 +2932,8 @@ function (window, undefined) { } const arr = axisData[rowCol].data[value.type].get(value.value); arr.push(index); - axisData[rowCol].end += 1; }); + axisData[rowCol].end = endIndex; } else { if (startIndex < axisData[rowCol].start) { const c1 = bHor ? startIndex : rowCol; @@ -2991,8 +2991,8 @@ function (window, undefined) { } const arr = axisData[rowCol].data[value.type].get(value.value); arr.push(index); - axisData[rowCol].end += 1; }); + axisData[rowCol].end = endIndex; } } return axisData[rowCol].data[type];