@self not working after upgrade of confluence 5.10 > 7.4

Hi everyone,

As an altlassian partner we proceed a migration from confluence 5.10 to confluence 7.4. Client use a search bar into the side bar. Search bar is supposed to find results only in the current space, using this code to do the job :

{livesearch:space-key="@self"|size=large|placeholder=Search in domain}

This seems not working anymore after migration.

How can we fix that ?