owl-cli 6.184.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,20 +124,28 @@ function getRows(modelService, spec) {
124
124
 
125
125
  delete searchArgs.recycleBin;
126
126
 
127
- var pageSize = 100000;
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
- var count = modelService.count(mfilters, searchArgs, keyword );
135
- return {
136
- rows: sr.list,
137
- total: count
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
- else if(exportRange=== "selected") {
148
+ else if(exportRange=== "checkedOnly") {
141
149
  var ids = params.ids;
142
150
  var rows = [];
143
151
  ids.forEach(function(id){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.184.0",
3
+ "version": "6.186.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {