Breeze / breeze.js

Breeze for JavaScript clients
MIT License
540 stars 88 forks source link

proxycreation disabled breaks results when using $orderby $skip $inlinecount #132

Open ganySA opened 8 years ago

ganySA commented 8 years ago

Firstly i am not sure if this is a bug / simply not support or i could be doing something wrong.

I am trying to improve my query performance for an entity and have disabled proxy creation on it in my controller. However when doing so and using this in conjunction with $orderby $skip and $inlinecount i get no results back to the server although i do get an inlinecount value (which is correct)

{ $id: "1", $type: "Breeze.WebApi2.QueryResult, Breeze.WebApi2", Results: [ ], InlineCount: 3 }

I have documented this on stackoverflow link below.

http://stackoverflow.com/questions/35519961/breeze-using-paging-filter-proxy-creation-enabled-breaks-results

Is this a bug? or is this not supported?

Thanks

ganySA commented 8 years ago

If i remove $orderby, $skip and $top and leave $inlinecount the object is populated correctly.