Skip to content

Commit d66e50d

Browse files
committed
Issue #22: rename searchAfterNs to searchAfter
1 parent ecb52ac commit d66e50d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/datasource.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ export class QuickwitDataSource
434434

435435
private makeLogContextDataRequest = (row: LogRowModel, options?: LogRowContextOptions) => {
436436
const direction = options?.direction || LogRowContextQueryDirection.Backward;
437-
const searchAfterNs = row.dataFrame.fields.find((f) => f.name === 'sort')?.values.get(row.rowIndex) ?? [row.timeEpochNs]
437+
const searchAfter = row.dataFrame.fields.find((f) => f.name === 'sort')?.values.get(row.rowIndex) ?? [row.timeEpochNs]
438438

439439
const logQuery: Logs = {
440440
type: 'logs',
@@ -444,7 +444,7 @@ export class QuickwitDataSource
444444
// Sorting of results in the context query
445445
sortDirection: direction === LogRowContextQueryDirection.Backward ? 'desc' : 'asc',
446446
// Used to get the next log lines before/after the current log line using sort field of selected log line
447-
searchAfter: searchAfterNs,
447+
searchAfter: searchAfter,
448448
},
449449
};
450450

0 commit comments

Comments
 (0)