join addressObservation into list Addresses service
This commit is contained in:
parent
19ddead326
commit
f0356eb047
|
@ -38,7 +38,8 @@ module.exports = function(Client) {
|
|||
},
|
||||
skip: (params.page - 1) * params.size,
|
||||
limit: params.size,
|
||||
order: ['isDefaultAddress DESC', 'isActive DESC']
|
||||
order: ['isDefaultAddress DESC', 'isActive DESC'],
|
||||
include: {observations: 'observationType'}
|
||||
};
|
||||
|
||||
let total = null;
|
||||
|
|
Loading…
Reference in New Issue