diff --git a/src/routes/production/printers.js b/src/routes/production/printers.js index fac3329..838e301 100644 --- a/src/routes/production/printers.js +++ b/src/routes/production/printers.js @@ -15,7 +15,7 @@ import { convertPropertiesString, getFilter } from '../../utils.js'; // list of printers router.get('/', isAuthenticated, (req, res) => { const { page, limit, property, search, sort, order } = req.query; - const allowedFilters = ['tags']; + const allowedFilters = ['tags', 'host._id']; const filter = getFilter(req.query, allowedFilters); listPrintersRouteHandler(req, res, page, limit, property, filter, search, sort, order); });