The earliest recollection of this bug is traced back to PAN-OS 10.1.9 - February 19, 2025.
This bug is fixed in PAN-OS versions 10.2.4, 10.1.9.
Fixed an issue where, when using Global Find on the web interface to search for a given Hostname Configuration (Device > Setup > Management) , clicking the search result directed you to the appropriate Hostname configuration, but did not change the respective Template field automatically.
For more information:
https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-release-notes/pan-os-10-1-9-known-and-addressed-issues/pan-os-10-1-9-addressed-issues
https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-release-notes/pan-os-10-2-4-known-and-addressed-issues/pan-os-10-2-4-addressed-issues