corrections
This commit is contained in:
parent
2a0b52b094
commit
300f3d543a
|
@ -35,4 +35,4 @@
|
|||
</vn-card>
|
||||
<a ui-sref="clientCard.greuge.create" fixed-bottom-right>
|
||||
<vn-float-button icon="add"></vn-float-button>
|
||||
</a>
|
||||
</a>
|
||||
|
|
|
@ -12,5 +12,5 @@ export function restoreFixtures() {
|
|||
// connection.connect();
|
||||
// connection.query('CALL truncateDatabase');
|
||||
// connection.disconect();
|
||||
// console.log('fixtures restored');
|
||||
console.log('dirty fixtures');
|
||||
}
|
||||
|
|
|
@ -158,6 +158,7 @@ module.exports = function(Self) {
|
|||
|
||||
this[methodName] = (params, cb) => {
|
||||
let filter = removeEmpty(filterCb(params));
|
||||
|
||||
var response = {};
|
||||
|
||||
function returnValues() {
|
||||
|
@ -181,6 +182,7 @@ module.exports = function(Self) {
|
|||
returnValues();
|
||||
}
|
||||
});
|
||||
|
||||
this.count(filter.where, function(err, totalCount) {
|
||||
if (err) {
|
||||
error();
|
||||
|
@ -229,4 +231,3 @@ function removeEmpty(o) {
|
|||
function isEmpty(value) {
|
||||
return value === undefined || value === "";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue