this.store.findRecord('book',params.id).then(function(tag){
tag.get('relatedBook').then(function(related){
var items = related.get('related'); //items = '1,2,3'
return related.store.query('book', {filter:{id: items} });
});
}),
Console still return localhost:8000/books?filter[id]=1,2,3, There still data in json api but When I call {{model}} in templates, it returns nothing?
What is the problem here?