gpt4 book ai didi

javascript - Breeze js : inlineCount is incorrect when sorting by navigation property

转载 作者:行者123 更新时间:2023-11-28 02:04:51 27 4
gpt4 key购买 nike

我正在使用最新版本的 Breeze 。修复了按导航属性排序时不返回 inlineCount 的错误。

但是,按导航属性排序时,inlineCount 不正确。

考虑以下 ODATA 请求:

http://myserver/api/mandates/Mandates?$orderby=AccountOwner%2FTiersId%20desc&$top=1&$inlinecount=allpages

排序是在名为 AccountOwner.TiersId 的导航属性上进行的,每页应返回 10 个结果。

inlineCount 始终返回每页的记录数,而不是总记录数(在本例中它应该是 150,但它返回 10)。

你能修复它吗?

最佳答案

好的,这个问题已在 GitHub 上的当前位中修复。 (您只需检索 Breeze.WebApi.dll 就可以了)。我们将在下周某个时间发布的下一个完整发行版本(v 1.4.1)中包含此修复程序。

感谢您找到它:)

关于javascript - Breeze js : inlineCount is incorrect when sorting by navigation property,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17918065/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com