Permalink
Browse files

Fix bad get_metadata

  • Loading branch information...
1 parent 82577a7 commit f12e75085f17a6e9e191c9a45555d9a6aaf1d274 @cnorthwood cnorthwood committed Nov 26, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 molly/apps/places/views.py
@@ -458,11 +458,11 @@ def get_metadata(self, request, ptypes):
if len(context['entity_types']) > 1:
return {
'exclude_from_search':True,
- 'title': 'All %s near%s%s' % capfirst(context['entity_types'][0].verbose_name_plural),
+ 'title': 'All %s' % context['entity_types'][0].verbose_name_plural,
}
return {
- 'title': 'All %s near%s%s' % capfirst(context['entity_types'][0].verbose_name_plural),
+ 'title': 'All %s' % context['entity_types'][0].verbose_name_plural,
'additional': '<strong>%d %s</strong>' % (
len(context['entities']),
context['entity_types'][0].verbose_name_plural,

0 comments on commit f12e750

Please sign in to comment.