Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dekelev authored and evilbuck committed Feb 11, 2022
1 parent a621408 commit cd06148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ class Service extends AdapterService {

if (count) {
const countColumns = groupByColumns || (Array.isArray(this.id) ? this.id.map(idKey => `${this.Model.tableName}.${idKey}`) : [`${this.Model.tableName}.${this.id}`]);
const countQuery = this._createQuery(params).clear('groupBy');
const countQuery = this._createQuery(params);

if (query.$joinRelation) {
countQuery
Expand Down

0 comments on commit cd06148

Please sign in to comment.