File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ var CollectionStatsView = AmpersandView.extend({
29
29
document_count : {
30
30
deps : [ 'model.document_count' ] ,
31
31
fn : function ( ) {
32
- return numeral ( this . model . document_count ) . format ( '0.0a' ) ;
32
+ var format = ( this . model . document_count > 1000 ) ? '0.0a' : '0' ;
33
+ return numeral ( this . model . document_count ) . format ( format ) ;
33
34
}
34
35
} ,
35
36
document_size : {
@@ -47,7 +48,7 @@ var CollectionStatsView = AmpersandView.extend({
47
48
index_count : {
48
49
deps : [ 'model.index_count' ] ,
49
50
fn : function ( ) {
50
- return numeral ( this . model . index_count ) . format ( '0.0a ' ) ;
51
+ return numeral ( this . model . index_count ) . format ( '0' ) ;
51
52
}
52
53
} ,
53
54
index_size : {
Original file line number Diff line number Diff line change 1
1
.collection-view
2
2
.sampling-status
3
- span This report is based on a sample of 1000 documents. #[ a( href ='#' ) Learn More]
3
+ span This report is based on a sample of 100 documents. #[ a( href ='#' ) Learn More]
4
4
header
5
5
.row
6
6
.col-md-6
You can’t perform that action at this time.
0 commit comments