You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
For the models which use associations through include there is an wrong count in the Content-Range header of the epilogue library.
According to sequelize/sequelize#7225
You need to use distinct = true in the findAndCountAll options.
I have made a local workaround in the Controllers/list.js List.prototype.fetch = function(req, res, context) function by putting
options.distinct = true;
You should populate it to the resource function options of the library.
The text was updated successfully, but these errors were encountered:
Hi,
For the models which use associations through include there is an wrong count in the Content-Range header of the epilogue library.
According to
sequelize/sequelize#7225
You need to use distinct = true in the findAndCountAll options.
I have made a local workaround in the Controllers/list.js List.prototype.fetch = function(req, res, context) function by putting
options.distinct = true;
You should populate it to the resource function options of the library.
The text was updated successfully, but these errors were encountered: