Skip to content

Commit

Permalink
fix: issue sort order
Browse files Browse the repository at this point in the history
  • Loading branch information
sshivaditya committed Nov 15, 2024
1 parent fc9714d commit aae1a02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/home/fetch-github/fetch-and-display-previews.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { taskManager } from "../home";
import { applyAvatarsToIssues, renderGitHubIssues } from "../rendering/render-github-issues";
import { renderOrgHeaderLabel } from "../rendering/render-org-header";
import { closeModal } from "../rendering/render-preview-modal";
import { filterIssuesBySearch } from "../sorting/filter-issues";
import { filterIssuesBySearch } from "../sorting/filter-issues-by-search";
import { Sorting } from "../sorting/generate-sorting-buttons";
import { sortIssuesController } from "../sorting/sort-issues-controller";
import { checkCacheIntegrityAndSyncTasks } from "./cache-integrity";
Expand Down
4 changes: 2 additions & 2 deletions src/home/issues-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export class IssueSearch {
for (const issueId of this._searchableIssues.keys()) {
const issue = this._taskManager.getGitHubIssueById(issueId);
if (!issue) {
results.set(issueId, this._createEmptyResult(false));
continue;
results.set(issueId, this._createEmptyResult(false));
continue;
}

const result = this._calculateIssueRelevance(issue, searchTerms, isFuzzySearchEnabled);
Expand Down

0 comments on commit aae1a02

Please sign in to comment.