meteor-admin icon indicating copy to clipboard operation
meteor-admin copied to clipboard

Admin collections count

Open VitaliiZhukov opened this issue 8 years ago • 1 comments

Hi there! Is there a bug in counting collections items? All collections except users are greater per one than real value. In /lib/server/publish.coffee line 36 counting starts from 1. I suppose it should start from 0.

_.each collectionsWithoutCustomCounter, (collection, name) ->
        id = new Mongo.ObjectID
        count = 1

        ready = false

PS Thanks for your work.

VitaliiZhukov avatar Mar 28 '16 13:03 VitaliiZhukov

+1

Thanks for the quick solve, @VitaliiZhukov

zaklampert avatar Jul 12 '16 21:07 zaklampert