omeka/Omeka — Issue #158: link_to_items_in_collection text says 'View' if no Items in Collection
Author: clioweb
Created: 2012-02-28 02:50:16+00:00
State: open

If a collection has zero items, the link generated by the `link_to_items_in_collection` helper says 'View', which is the default text for the `link_to` helper if its `$text` argument is null.

Since the current behavior for the `link_to_items_in_collection` helper is to display the number of items, it would make sense for this to display "0" if it has no items. On the other hand, it probably makes more sense to not generate a link at all if the collection has no items.