mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
feat: add search data to filter:search.inContent
This commit is contained in:
@@ -81,6 +81,7 @@ async function searchInContent(data) {
|
|||||||
|
|
||||||
const metadata = await plugins.hooks.fire('filter:search.inContent', {
|
const metadata = await plugins.hooks.fire('filter:search.inContent', {
|
||||||
pids: allPids,
|
pids: allPids,
|
||||||
|
data: data,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (data.returnIds) {
|
if (data.returnIds) {
|
||||||
|
|||||||
Reference in New Issue
Block a user