Hi,
I have three nested content DIVs on the same page, all pulling in content from the same asset listing but passing a parameter to get different results (category_id get parameter). However all three DIVs list the same results. Basically it seems that the asset listing is being passed the first parameter I set three times, regardless of what I pass in the second and thrid DIV, i.e. I pass 59,60 and 61 to the three DIVs but they all show the number 59 list.
The asset listing root node is a data source record set and the category_id is being passed into the SQL.
Previewing the nested content separately and passing the category_id as a get parameter in the URL works fine.
Looks like a bug.
We are using Squiz MySource v3.28.2 (Matrix).
I've found this as well, but not yet filed it as a bug.
I have a suspicion this might turn out to be a limitation of the feature's design. When you pass a variable through a DIV in this way, it just puts the value into PHP's GET vars array (as if it was passed through the query string), which might be too much of a global scope to be set more than once per request.
[quote]
Looks like a bug.
[/quote]
Hi Paul, just a quick question - is the page in question cached? If so, does the behaviour occur with a non cached version of the page?
[quote]
Hi Paul, just a quick question - is the page in question cached? If so, does the behaviour occur with a non cached version of the page?
[/quote]
Hi Douglas,
No as far as I can tell it's not cached.
Thanks Paul, we have a similar problem with a complicated set of nested searches where the problem occurs when the page is cached, but doesn't occur when the page is not cached.