user3071284
user3071284

Reputation: 7100

BreezeJS inlineCount() not working

I have the following query that executes successfully, but data.inlineCount is always the same as data.results.length. Any idea what I could be doing wrong?

Here's the query execution call:

manager.executeQuery(query.take(0).inlineCount(true)).then(function (data) {alert(data.inlineCount);});

Upvotes: 0

Views: 117

Answers (1)

Jay Traband
Jay Traband

Reputation: 17052

This is a bug having to do with using 'select', 'take' and 'inlineCount' used together. The fix is currently checked into GitHub and will be part of the 1.4.7 release, out later this week.

Upvotes: 2

Related Questions