Ports - filter by display
The problem
I added hosts to LibreNMS using the API. The hostname is actually the IP address, while I set the real hostname in the display field. When I search globally, the devices show up correctly under “FW”, and the same happens in the Devices section. However, the issue appears in the Ports section — when I type “FW”, nothing shows up, but when I search using the IP address, it finds the device correctly, even though the display field is visible.
The similar issue in Sensor section was fixed in #18521
Output of ./validate.php
All OK
What was the last working version of LibreNMS?
25.11.0
Anything in the logs that might be useful for us?
Not sure if i understand you issue correctly but i think you want to set "Default device display name template" to sysName or hostname fallback to sysname Globalsettings -> Web UI -> Device Settings. Big portions of librenms use display name if its set to hostname thats the ip address. Not sure if individual device overrides are used the same way.
They want to set display template to a literal name and be able to search for it. Silly I know, but it is much better than the alternative.