WebUI - Search results for ports#13787
Conversation
|
I believe I was simply trying to match the existing behavior (which is/was not uniform). I would love to see getDescription() deleted. Additionally, I think that change was made in a PR before the one you linked. |
|
Please also check |
|
Right. I only started my researches and hurried up to try to catch next release. And missed this I come with a rather simple patch : restore the full ifAlias. Also contacted the original PR that created this short view : #13143 |
|
@PipoCanaja |
|
Bonsoir @fbourqui |
|
Salut @PipoCanaja |
|
This pull request has been mentioned on LibreNMS Community. There might be relevant details there: |
My NOC is complaining that searchs in LibreNMS gives less details on the port descriptions. Which is true for ports with parsed descriptions, following #13143
This PR restores the behaviour for Parsed Descriptions in Search results as well as PortURL, both using $port->getDescription();
It also removes the code in function.php for
generate_port_link(), thx @murrant .And a setting could be added to enable shorter display in case necessary (@fbourqui )
Before

After

DO NOT DELETE THE UNDERLYING TEXT
Please note
Testers
If you would like to test this pull request then please run:
./scripts/github-apply <pr_id>, i.e./scripts/github-apply 5926After 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.