@onehat/data 1.21.2 → 1.21.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/data",
3
- "version": "1.21.2",
3
+ "version": "1.21.3",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -22,7 +22,7 @@ class AjaxRepository extends Repository {
22
22
  isRemote: true,
23
23
  isRemoteFilter: true,
24
24
  isRemoteSort: true,
25
- isPaginated: true,
25
+ isPaginated: !config.schema.model.isTree, // If it's a tree, don't paginate
26
26
 
27
27
  /**
28
28
  * @member {object} api - List of relative URIs to API endpoints.