Search model doesn't create objects


#1

I do request through: this.get('store').query('search', {q: val, type: 'artist'}) and JSONAPIAdapter and Serializer

API response contains data with artists type. However in store I get X objects of artists and 0 objects of search? I need to know, what to present to user.

I only managed to access it in promise by

.then( data => {
    console.log(data.content);
});

But data.content is array of X objects, each of them has private (starting with underscore) methods like _data, and attributes of object are in _data, instead something like data.content[0].attributeName