-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hello,
I have met an issue which is as follows when I want to add limits and alerts for download plugin (server service) to my datasets:
1. Open our sitools2 instance: http://idoc-medoc-test.ias.u-psud.fr.
2. Select SOHO query form in the 'Search forms' menu bar.
3. Click 'Search' and get the result window.
4. If I select all records, the alert/error window doesn't come out while I select less than all records, the alert window appears.
I have already set the parameters in client-admin -> Dataset services, as the photo captured:
- According to my search, the 'checkResourceParameters' event check the parameters by the variable - nbRows
- When all records selected by clicking the checkbox on the left of 'download' column, the nbRows only equals the number of records of a single grid which is 10.
- But when we select the records manually, the 'this.grid.getSelectionModel().getCount()' works well for nbRows;
- And in the Extjs4+, we can get the total number of grid store by 'this.grid.getStore().getTotalCount()' but not 'this.grid.getStore().totalLength'.
- The concerned js is ~/client-user-3.0/app/utils/ServerServiceUtils.js.
Thank you for your help,
regards,
Guanji
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
