in the Advanced Search page for the JSPAC
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
);
dojo.forEach(ctypeData,
function(thing) {
- var opt = insertSelectorVal(sel, -1, (thing.search_label ? thing.search_label : thing.value), thing.code);
+ var code = thing.code;
+ if (ctype == 'item_form' && code == 's') { // Electronic
+ code = 'soq';
+ }
+ var opt = insertSelectorVal(sel, -1, (thing.search_label ? thing.search_label : thing.value), code);
opt.setAttribute('title', (thing.search_label ? thing.search_label : thing.value));
}
);