Skip to content

Commit

Permalink
Search footnotes
Browse files Browse the repository at this point in the history
  • Loading branch information
ustc-zzzz committed Nov 26, 2023
1 parent 8676d6f commit a29a832
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ SELECT p.id, cast(p.id AS text) AS text_content
FROM chahoutan_posts p JOIN chahoutan_revisions r ON p.revision_id = r.id AND p.id = :id
UNION ALL SELECT p.id, c.text_content
FROM chahoutan_posts p JOIN chahoutan_corrections c ON p.revision_id = c.revision_id AND p.id = :id
UNION ALL SELECT p.id, f.footnote AS text_content
FROM chahoutan_posts p JOIN chahoutan_post_footnotes f ON p.revision_id = f.revision_id AND p.id = :id
UNION ALL SELECT p.id, e.editor AS text_content
FROM chahoutan_posts p JOIN chahoutan_editors e ON p.id = e.post_id AND p.id = :id
)
Expand Down

0 comments on commit a29a832

Please sign in to comment.