Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing RavenDB-265 (hiding collections with no docs in the UI)

  • Loading branch information...
commit de21317b585776e147d881f6806d86384662c228 1 parent 89bda4a
@ayende ayende authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  Raven.Studio/Models/CollectionsModel.cs
View
1  Raven.Studio/Models/CollectionsModel.cs
@@ -101,6 +101,7 @@ public override Task TimerTickedAsync()
.ContinueOnSuccess(collections =>
{
var collectionModels = collections.OrderByDescending(x => x.Count)
+ .Where(x=>x.Count > 0)
.Select(col => new CollectionModel { Name = col.Name, Count = col.Count })
.ToArray();
Please sign in to comment.
Something went wrong with that request. Please try again.