feat(search): add proper DB tag searching

This commit is contained in:
David Bailey 2024-12-09 10:50:36 +01:00
parent f9cfb81079
commit 22c953793c
4 changed files with 147 additions and 20 deletions

View file

@ -80,6 +80,16 @@ interface PostdataInterface {
$order_by = 'path');
public function get_post_markdown($id);
// Returns an array of PostData information
// based on the tag search list
//
// Tag searchlist is comprised of space-separated
// tags. Each tag can have a weighting prefix,
// and some special tags exist (such as limit:N,
// order:S).
public function search_posts($taglist);
}
?>