Fix paging cursor for report

By updating cursor only if it exists while building report filter
This commit is contained in:
Vivek Patel
2022-12-02 18:07:45 +05:30
parent d1c68ce3c0
commit 035a38f3df
+3 -1
View File
@@ -173,7 +173,9 @@ func (a internalFilter) mergeFilters(b internalFilter) (c internalFilter) {
// cursor
// always use the latest paging cursor
c.cursor = b.cursor
if b.cursor != nil {
c.cursor = b.cursor
}
return
}