mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	feat: add search data to filter:search.inContent
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							c2024f3484
						
					
				
				
					commit
					e3f2156202
				
			@@ -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