-
Improvement
-
Resolution: Fixed
-
Major
-
4.7.0
-
None
-
4.8.0 RC1
-
1 - Middle term
-
1 - Easy
When we apply a specific behavior in JS using the callBack fonction. The id générated into the service change on each pages of résults. We need a unique ID that it will not change on each page of results.
That occurs only when we use the callback, with pagination, with several search engine into the same zone.
Instead of :
<xsl:variable name="uniqueId" select="substring-after(math:random(), '.')"/>
use :
<xsl:variable name="uniqueId" select="translate(ametys:zoneItemId(), ':/-', '')"/>