mysociety/whatdotheyknow — Issue #46: Search preview is only showing attachments
Author: foimonkey
Created: 2012-01-16 08:45:56+00:00
State: open

Previously the first few lines of a response or attachment were displayed in quote marks on the right hand side of the results page when a search was made. Currently this is only displaying a preview if the search term is contained in an attachment. If the search term is contained in an email it comes up blank with no closing quote mark being displayed either.

Eg - http://www.whatdotheyknow.com/search/Dear%20Keele%20University%20(variety:sent%20OR%20variety:followup_sent%20OR%20variety:response%20OR%20variety:comment)/relevant