afterpage后处理结果的分页 [英] pagination of results post-processed with afterFind
本文介绍了afterpage后处理结果的分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
v1.3
任何人都有在afterFind()中经过一些处理的结果的分页体验吗?
v1.3 Does anyone have experience of pagination of results that have been subjected to some processing in afterFind() ?
虽然我的结构返回的数据是相同的,禁止添加两个计算伪字段,所有的分页数据似乎已丢失。
Although the structure of my returned data is identical, bar the addition of two calculated pseudo fields, all of the pagination data seems to have been lost.
Google搜索导致死胡同。 p>
Google searches lead to dead-ends.
推荐答案
排序 - 我删除了空数组,结果是分页使用
Sorted - I'd stripped out the empty arrays that, it turned out, are used by pagination
这篇关于afterpage后处理结果的分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文