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:
parent
05aceda782
commit
7185a9f8a3
|
@ -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,
|
||||
|
|
Reference in New Issue
Block a user