Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

murrant
Copy link
Member

@murrant murrant commented Oct 16, 2025

Keep in mind sort order is saved per-user. So previously, if you sorted by anything you could never get back to ifIndex.

image

fixes #16554

Please note

Please read this information carefully. You can run ./lnms dev:check to check your code before submitting.

  • Have you followed our code guidelines?
  • If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
  • If my Pull Request makes discovery/polling/yaml changes, I have added/updated test data.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926
After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

@murrant murrant added the WebUI label Oct 16, 2025
@librenms-bot
Copy link

This pull request has been mentioned on LibreNMS Community. There might be relevant details there:

https://community.librenms.org/t/incorrect-port-sorting-for-stacked-switches/26320/4

@Jellyfrog Jellyfrog merged commit aef8816 into librenms:master Oct 16, 2025
9 checks passed
@murrant murrant deleted the ports_ifIndex branch October 16, 2025 08:10
@murrant
Copy link
Member Author

murrant commented Oct 16, 2025

Alternatively, we don't save sort order.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect Port Sorting for Stacked Switches

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.