title: Select2 not getting data via AJAX
body: <p>I have the following code which should be getting data via AJAX using Select2</p>
  
  <pre><code>$('#Organisation').select2({
      ajax: {
          url: AppURL + 'Organisations/Manage/SearchByName/',
          dataType: 'json',
          quietMillis: 100,
          data: function (term) {
              return {
                  term: term
              };
          },
          results: function (data) {
              return {
                  results: data
              };
          }
      }
  });
  </code></pre>
  
  <p>If I look at the request using Web Inspector when searching 'O' I get:</p>
  
  <pre><code>[{"label":"Organisation 1","ID":2},{"label":"Organisation 2","ID":1}]
  </code></pre>
  
  <p>Any ideas what I'm doing wrong? I'd presume something incorrect in the results function.</p>
  
  <p>The error I get is: <code>Uncaught TypeError: Cannot call method 'toUpperCase' of undefined</code></p>