eliminado console.log
This commit is contained in:
parent
2b7abef98f
commit
bbd09b3d36
|
@ -12,7 +12,8 @@ module.exports = function(FakeProduction) {
|
|||
delete filter.page;
|
||||
|
||||
if(filter.where && filter.where.q){
|
||||
var newFilter = {and: [
|
||||
var newFilter = {
|
||||
and: [
|
||||
{
|
||||
or: [
|
||||
{agency: {regexp: filter.where.q}},
|
||||
|
@ -36,8 +37,6 @@ module.exports = function(FakeProduction) {
|
|||
filter.where = newFilter;
|
||||
}
|
||||
|
||||
console.log(JSON.stringify(filter));
|
||||
|
||||
FakeProduction.connectToService(ctx, "client");
|
||||
this.find(filter, function(err, tickets) {
|
||||
FakeProduction.disconnectFromService("client");
|
||||
|
|
Loading…
Reference in New Issue