Here is a script that I have used to work around this issue. It creates a comma separated list of classification field names and values in the pattern:
PREFIX:035, TOLERANCE:2, PACKAGE:0402, HEIGHT:1, MOUNTING_STYLE:SMT, VOLTAGE_RATING:50, CAPACITANCE:100.
It will work on any classification structure. You'll just need to create an item details field of type single line text. In the example below, I've named the field "Classification Values"
With this string you can search on one or more classification attributes. For example, you can search: PACKAGE:0402 and the search will return all 0402 components.
script
------------------------------------
function objToString (obj) {
var str = '';
for (var p in obj) {
if (obj.hasOwnProperty(p)) {
if (typeof obj[p] === 'object'){
str += p + ':' + obj[p].displayValue + ', ';
}else{
str += p + ':' + obj[p] + ', ';
}
}
}
return str;
}
var classString = objToString(item.classification);
item.CLASSIFICATION_VALUES = classString;