There is bug with this callback - only one item shown. Maybe you should use "+" as separator (not ",") and/or delete the last (to pass 1+2+3 instead of 1+2+3+).

This code example for easyrec_views_callback.js works as need:

ids =  "";
for (x = 0; x < items.length; x++) {
 if (ids.length) {
  ids=ids + '+';
 }
 ids = ids + items[x].id;
}

Comments

david.mann’s picture

hmm i will look into it - worked perfectly for me on my local instance with VIEWS 3 - but i remember that i was quite unsure which seüerator was the correct one - will look into it next week!

david.mann’s picture

did the new version fixed teh problem ?

david.mann’s picture

Issue summary: View changes

Some additions

Colin @ PCMarket’s picture

Issue summary: View changes

Sorry to revive this, but i experienced the same issue and this fixed it for me.

Please commit.