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.
- package/dist/index.js +4 -1
- 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');
|