Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bad get_metadata

  • Loading branch information...
commit f12e75085f17a6e9e191c9a45555d9a6aaf1d274 1 parent 82577a7
@cnorthwood cnorthwood authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 molly/apps/places/views.py
View
4 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,
Please sign in to comment.
Something went wrong with that request. Please try again.