This component only works with JSON filter parameters, not traditional style parameters (ie filter[where][foo]=bar). The following code breaks, and should probably only parse as JSON if args is a string and not already an object.
On line 27:
filter = JSON.parse(ctx.args.filter).where;
This component only works with JSON filter parameters, not traditional style parameters (ie filter[where][foo]=bar). The following code breaks, and should probably only parse as JSON if args is a string and not already an object.
On line 27:
filter = JSON.parse(ctx.args.filter).where;