Hi Mark,
I guess there is an issue with $ditto->prefetch.
In my case when filter are on the parser send back an error (array_merge, second argument is not an array)
It seems to me that trouble comes from the key in the array. $ditto->prefetch["resource"].
The line involved is this one in the snippet code
$resource[$x] = array_merge($resource[$x],$ditto->prefetch["resource"][$start+$x]);
When filter are active the keys are no more incremental so there are missing keys.
hope that makes sense.
:-)
the $ditto->prefetch datas
[resource] => Array
(
[2] => Array
(
[id] => 14021
[published] => 1
[typeRecette] =>
[tagsPhoto] => viandes
)
[3] => Array
(
[id] => 14020
[published] => 1
[typeRecette] =>
[tagsPhoto] => viandes
)
[6] => Array
(
[id] => 13908
[published] => 1
[typeRecette] =>
[tagsPhoto] => viandes
)
[7] => Array
(
[id] => 13909
[published] => 1
[typeRecette] =>
[tagsPhoto] => viandes
)
[8] => Array
(
[id] => 13910
[published] => 1
[typeRecette] =>
[tagsPhoto] => viandes
)
[12] => Array
(
[id] => 13914
[published] => 1
[typeRecette] =>
[tagsPhoto] => viandes
)