otwcode/otwarchive — pull request #893 by scottsds (2012-10-17 16:42:45+00:00)
Title: Issue 1086: Collections show work counts including locked works even whe...

...n user is not logged in

Resolves issue: http://code.google.com/p/otwarchive/issues/detail?id=1086

Collection model all_approved_works_count checks to see if a user is logged in or not, and if not, returns only the number of works in a collection (and subcollections) that are non-restricted.