@onehat/data 1.19.2 → 1.19.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 +1 -1
- package/src/Schema/Schema.js +10 -0
package/package.json
CHANGED
package/src/Schema/Schema.js
CHANGED
|
@@ -328,6 +328,16 @@ export default class Schema extends EventEmitter {
|
|
|
328
328
|
}
|
|
329
329
|
found[property.name] = property.filterType;
|
|
330
330
|
});
|
|
331
|
+
|
|
332
|
+
if (!_.isNil(this.model.ancillaryFilters)) {
|
|
333
|
+
_.each(this.model.ancillaryFilters, (value, key) => {
|
|
334
|
+
found[key] = {
|
|
335
|
+
isAncillary: true,
|
|
336
|
+
title: value,
|
|
337
|
+
};
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
|
|
331
341
|
return found;
|
|
332
342
|
}
|
|
333
343
|
|