Fix item key search (broken by a01f2765e4)

This commit is contained in:
Dan Stillman 2017-01-23 08:46:42 -05:00
parent a01f2765e4
commit edb08e179c

View file

@ -452,7 +452,7 @@ Zotero.SearchConditions = new function(){
special: true,
noLoad: true,
inlineFilter: function (val) {
return Zotero.Utilities.isValidObjectKey(val) ? val : false;
return Zotero.Utilities.isValidObjectKey(val) ? `'${val}'` : false;
}
},