goby-database 2.2.26 → 2.2.27

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -836,9 +836,12 @@ export default class Project {
836
836
  else if (pagination.property_range == 'slim') {
837
837
  return label_prop_ids.includes(prop.id);
838
838
  }
839
- else {
839
+ else if (pagination.property_range.length > 0) {
840
840
  return pagination.property_range.includes(prop.id);
841
841
  }
842
+ else {
843
+ return true;
844
+ }
842
845
  });
843
846
  const relation_properties = retrieved_properties.filter(a => a.type == 'relation');
844
847
  const data_properties = retrieved_properties.filter(a => a.type == 'data');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goby-database",
3
- "version": "2.2.26",
3
+ "version": "2.2.27",
4
4
  "description": "This will hold the core better-sqlite3-powered application for creating and modifying goby databases",
5
5
  "main": "dist/index.js",
6
6
  "files": [