function(searchName, field, value, w, req) {
      return w[field.target.field] = req.params[field.param];
    }
function(searchName, field, value, w, req) {
      return w[field.target.field] = req.params[field.param];
    }
function ( searchName , field , value , w , req ) { return w [ field . target . field ] = req . params [ field . param ] ; }
if user from :userId is
if user from : userId is