Mercurial > hg > soundsoftware-site
view app/views/queries/index.api.rsb @ 1021:967fb7e62b1d browsing
Include only public projects in busy institutions / projects queries, so results can be cached (the tag cloud was already public projects only). Introduce tentatively some cacheing thingies
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 13 Nov 2012 10:35:23 +0000 |
parents | cbb26bc654de |
children | 261b3d9a4903 |
line wrap: on
line source
api.array :queries, api_meta(:total_count => @query_count, :offset => @offset, :limit => @limit) do @queries.each do |query| api.query do api.id query.id api.name query.name api.is_public query.is_public api.project_id query.project_id end end end