mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-01 02:38:21 +08:00
PL-7476 Paging does not work when using in-memory security constraints (error when no data found by first query)
This commit is contained in:
parent
fc373ee96f
commit
9b5299899e
@ -606,7 +606,7 @@ public class DataManagerBean implements DataManager {
|
||||
}
|
||||
|
||||
int setSize = initialSize + requestedFirst;
|
||||
int factor = initialSize / filteredCollection.size() * 2;
|
||||
int factor = filteredCollection.size() == 0 ? 2 : initialSize / filteredCollection.size() * 2;
|
||||
|
||||
filteredCollection.clear();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user