spice-js 2.6.17 → 2.6.18
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.
|
@@ -877,6 +877,8 @@ class SpiceModel {
|
|
|
877
877
|
|
|
878
878
|
columnList.push("_permissions"); // Always include _permissions
|
|
879
879
|
|
|
880
|
+
columnList.push("_permissions_"); // Always include _permissions
|
|
881
|
+
|
|
880
882
|
columnList.push("id"); // Always include _permissions
|
|
881
883
|
|
|
882
884
|
return _.map(data, entry => _.pick(entry, columnList));
|
package/package.json
CHANGED
package/src/models/SpiceModel.js
CHANGED
|
@@ -779,6 +779,7 @@ export default class SpiceModel {
|
|
|
779
779
|
return column.includes(".") ? _.last(column.split(".")) : column;
|
|
780
780
|
}); // Convert comma-separated string to array
|
|
781
781
|
columnList.push("_permissions"); // Always include _permissions
|
|
782
|
+
columnList.push("_permissions_"); // Always include _permissions
|
|
782
783
|
columnList.push("id"); // Always include _permissions
|
|
783
784
|
return _.map(data, (entry) => _.pick(entry, columnList));
|
|
784
785
|
}
|