owl-cli 6.185.0 → 6.186.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -124,18 +124,26 @@ function getRows(modelService, spec) {
|
|
|
124
124
|
|
|
125
125
|
delete searchArgs.recycleBin;
|
|
126
126
|
|
|
127
|
-
var pageSize =
|
|
127
|
+
var pageSize = 10000;
|
|
128
128
|
var from = 0;
|
|
129
129
|
var sort = {
|
|
130
130
|
owl_modifyTime: {order: "desc"}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
var sr = modelService.search(mfilters, searchArgs, keyword, from, pageSize, sort);
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
if(sr.state==='ok'){
|
|
135
|
+
return {
|
|
136
|
+
rows: sr.list,
|
|
137
|
+
total: sr.list.length
|
|
138
|
+
}
|
|
138
139
|
}
|
|
140
|
+
else{
|
|
141
|
+
return {
|
|
142
|
+
rows: [],
|
|
143
|
+
total: 0
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
139
147
|
}
|
|
140
148
|
else if(exportRange=== "checkedOnly") {
|
|
141
149
|
var ids = params.ids;
|