From 4c3622fbb5c90c242e83caa564d82d3a2fd618f0 Mon Sep 17 00:00:00 2001 From: Rupert Bedford Date: Thu, 26 May 2016 13:58:12 +0100 Subject: [PATCH] Include specialty in drop-down --- src/app/consultants/consultant-model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/consultants/consultant-model.js b/src/app/consultants/consultant-model.js index 2538446d..ca7fd060 100644 --- a/src/app/consultants/consultant-model.js +++ b/src/app/consultants/consultant-model.js @@ -15,7 +15,7 @@ ConsultantModel.prototype = Object.create(Model.prototype); ConsultantModel.prototype.toString = function() { - return this.firstName + ' ' + this.lastName; + return this.firstName + ' ' + this.lastName + ' (' + this.specialty.name + ')'; }; return ConsultantModel;