omeka / Omeka-Commons

Plugins for Omeka Commons
0 stars 0 forks source link

Site model needs total items property #28

Open kimisgold opened 11 years ago

patrickmj commented 11 years ago

Am I reading right that you want to use the metadata() function to get the total items?

Or, said another way to practice user story writing ;)

As a theme builder, when I am building a view page that includes one or more $site objects, I want metadata($site, 'total_items') to return the total number of items from that site.

Needs getProperty($property) method on $site that will switch around $property = 'total_items'

Works if metadata($site, 'total_items') returns the correct number of items for that site.