Permalink
Browse files

search uses summary fo metadata now

  • Loading branch information...
1 parent 3ae39ab commit b72d920b3467b5f3bdc9d51cd2319684b54f96fc Daniele Procida committed Sep 19, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 news_and_events/link_schemas.py
@@ -4,10 +4,10 @@
from links import schema, LinkWrapper
schema.register(models.NewsArticle, search_fields=admin.NewsArticleAdmin.search_fields,
- metadata='subtitle', heading='"Related news"',
- short_text = 'short_title', description='subtitle',
+ metadata='summary', heading='"Related news"',
+ short_text = 'short_title', description='summary',
)
schema.register(models.Event, search_fields=admin.EventAdmin.search_fields,
- metadata='subtitle', heading='"Related events"',
- short_text = 'short_title', description='subtitle',
+ metadata='summary', heading='"Related events"',
+ short_text = 'short_title', description='summary',
)

0 comments on commit b72d920

Please sign in to comment.