SoftInstigate / angular-restheart

AngularJS client module for RESTHeart
8 stars 3 forks source link

Interceptor getlist fix #7

Closed dokkis closed 8 years ago

dokkis commented 8 years ago

Before this commit, if you try to use getList on an object, the interceptor makes a good job in automatically provide you the collection of the object transforming the returned data into an array but it loses the properties of the object itself.

There was just few original data copied to the extractedData, I introduce a for to copy all the original properties of the data object into the extractedData. Please integrate this PR :)

mkjsix commented 8 years ago

Hi @dokkis This has been published as version 1.2.6, thank you.

dokkis commented 8 years ago

@mkjsix wow the fast PR merged and released on npm of the history! Thank you ;)