]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5962 The size of the analysis reports queue is wrong
authorStas Vilchik <vilchiks@gmail.com>
Thu, 18 Dec 2014 14:51:26 +0000 (15:51 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 18 Dec 2014 14:51:26 +0000 (15:51 +0100)
server/sonar-web/src/main/coffee/analysis-reports/views/actions-view.coffee

index 237485c18e6bd8d13eea4e239634e862b05a6c97..12608b30d87b26bde988b60e9272261a8ac0549c 100644 (file)
@@ -31,4 +31,4 @@ define [
     serializeData: ->
       _.extend super,
         state: @options.app.state.toJSON()
-        total: @collection.paging.total || 0
+        total: @collection.paging.total || @collection.length