witten
/
luminotes
Archived
1
0
Fork 0

Fixed a bug in which search result note summaries were not showing the portion of the note that matched the search term.

This commit is contained in:
Dan Helfman 2008-11-14 12:30:03 -08:00
parent 05aceda782
commit 7185a9f8a3
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class Notebook( Persistent ):
return \
"""
select id, revision, title, contents, notebook_id, startup, deleted_from_id, rank, user_id, null,
headline( drop_html_tags( contents ), query ) as summary from (
null, headline( drop_html_tags( contents ), query ) as summary from (
select
note_current.id, note_current.revision, note_current.title, note_current.contents,
note_current.notebook_id, note_current.startup, note_current.deleted_from_id,