@ -138,7 +138,7 @@ async function getAttributeNames(req) {
asyncfunctiongetValuesForAttribute(req){
constattributeName=req.params.attributeName;
returnawaitsql.getColumn("SELECT DISTINCT value FROM attributes WHERE isDeleted = 0 AND name = ? AND value != '' ORDER BY value",[attributeName]);
returnawaitsql.getColumn("SELECT DISTINCT value FROM attributes WHERE isDeleted = 0 AND name = ? AND type = 'label' AND value != '' ORDER BY value",[attributeName]);