summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/field.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/field.js b/js/field.js
index 34f37e39e..a64369d33 100644
--- a/js/field.js
+++ b/js/field.js
@@ -690,8 +690,12 @@ YAHOO.bugzilla.userAutocomplete = {
this.dataSource.maxCacheEntries = 5;
this.dataSource.responseSchema = {
resultsList : "result.users",
- metaFields : { error: "error", jsonRpcId: "id"}
- };
+ metaFields : { error: "error", jsonRpcId: "id"},
+ fields : [
+ { key : "email" },
+ { key : "real_name"}
+ ]
+ };
},
init : function( field, container, multiple ) {
if( this.dataSource == null ){