       roles = @getProperty(options.role)
       collection.add(roles)
 
-      userRoles = _.map roles, (item) ->
+      userRoles = _.map roles, (item) =>
         if typeof item is 'string'
           return users[item]
         else
-          user = {id: item.id, text: "#{item.fullname} (#{item.id})" or item.id}
+          user = {id: item.id, text: @displayName(item.fullname, item.id)}
           users["#{user.id}"] = user
           return user
 

          data: (term, page) ->
            q: term # search term

          results: (data, page) -> # parse the results into the format expected by Select2.
            collection.add(data.users)
            return {
              results: _.map data.users, (item) ->
                user = {id: item.id, text: "#{item.fullname} (#{item.id})" or item.id}
                users["#{user.id}"] = user
                return user
            }


    initialize: () ->

          return licensors
          


      '.maintainers > input':
        value: 'publishers'
        type: 'select2'
