Skip to content

Fix sorting order for types in header autocomplete#3153

Open
yonadavGit wants to merge 1 commit intomasterfrom
fix-sorting-types-in-header-autocomplete
Open

Fix sorting order for types in header autocomplete#3153
yonadavGit wants to merge 1 commit intomasterfrom
fix-sorting-types-in-header-autocomplete

Conversation

@yonadavGit
Copy link
Copy Markdown
Contributor

This pull request makes a minor correction to the sorting logic in the sortByTypeOrder function within HeaderAutocomplete.jsx. The change ensures that items are sorted in the intended order based on their type.

  • Fixed the comparison in the sortByTypeOrder function to correctly sort items by their type using the provided typesOrder list. Previously, the sorting direction was reversed and the check for valid indices was incorrect.…lete

Description

A brief description of the PR

Code Changes

The following changes were made to the files below

Notes

Any additional notes go here

@yonadavGit yonadavGit requested a review from nsantacruz March 18, 2026 15:33
@mergify
Copy link
Copy Markdown

mergify bot commented Mar 18, 2026

🧪 CI Insights

Here's what we observed from your CI run for d19727a.

🟢 All jobs passed!

But CI Insights is watching 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant