title: Differences in issue numbers between SONAR dashboard and its REST API
body: <p>I'm writing a regular SONAR mail report as suggested in different posts and while playing around found a difference in number between the issues shown in the regular SONAR dashboard and the number produced by the REST API, e.g.</p>
  
  <pre><code>.../sonar/api/issues/search?severities=CRITICAL&amp;componentRoots=HEAD:diverse
  </code></pre>
  
  <p>It does not occur on every query and seems so be more often at large numbers. The REST API number is also always larger than the one from the dashboard.</p>
  
  <p>(1) Has anybody experienced similar results or are there known bugs (couldn't find any on google or the mailing lists)?</p>
  
  <p>(2) If there is a hidden command to bypass the 10.000 issue max cap, I'd also appreciate that. :-)</p>
  
  <p>SONARQUBE version is 3.6.2.</p>
  
  <p>Greetings and thanks,
  LastFreeNickname</p>