This article explains that starting from v7.4.0, the firewall policy search results no longer automatically expand when the interface pair view is enabled. Instead, the search results will be displayed in the same format as they were before the search was performed. If the policy view was in expanded format before the search, the results will be shown in expanded format. Similarly, if the view was in collapsed format, the results will appear in collapsed format.
Scope
FortiGate v7.4.0 above.
Solution
Step 1: Policy view is in the collapsed format:
Step 2: The Policy view is still in collapsed format after the search:
Step 3: ‘Right-click’ and select Expand all: