We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f4e699 commit 37cf525Copy full SHA for 37cf525
extensions/ql-vscode/src/interface.ts
@@ -270,7 +270,15 @@ export class InterfaceManager extends DisposableObject {
270
await this.showPageOfInterpretedResults(msg.pageNumber);
271
}
272
else {
273
- await this.showPageOfRawResults(msg.selectedTable, msg.pageNumber);
+ await this.showPageOfRawResults(
274
+ msg.selectedTable,
275
+ msg.pageNumber,
276
+ // When we are in an unsorted state, we guarantee that
277
+ // sortedResultsInfo doesn't have an entry for the current
278
+ // result set. Use this to determine whether or not we use
279
+ // the sorted bqrs file.
280
+ this._displayedQuery?.sortedResultsInfo.has(msg.selectedTable) || false
281
+ );
282
283
break;
284
default:
0 commit comments