2016-05-22 02:15:00 -05:00
|
|
|
function setVideosSearch (req, res, next) {
|
|
|
|
if (!req.query.field) req.query.field = 'name'
|
|
|
|
|
|
|
|
return next()
|
|
|
|
}
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
2017-05-15 15:22:03 -05:00
|
|
|
export {
|
|
|
|
setVideosSearch
|
|
|
|
}
|