Skip to content

Commit

Permalink
Revert "example usage of a property"
Browse files Browse the repository at this point in the history
This reverts commit 9d38187.
  • Loading branch information
tobes committed Jun 13, 2012
1 parent 9d38187 commit c0e1d78
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ckan/controllers/home.py
Expand Up @@ -46,11 +46,7 @@ def index(self):
'fq': 'capacity:"public"'
}
query = ckan.logic.get_action('package_search')(context,data_dict)
#c.package_count = query['count']
@property
def package_count():
return query['count']
c.package_count = package_count
c.package_count = query['count']
c.facets = query['facets']

data_dict = {'order_by': 'packages', 'all_fields': 1}
Expand Down

0 comments on commit c0e1d78

Please sign in to comment.