mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Add extraction of image_url for oneboxed images. Fix search by images filter name.
This commit is contained in:
@ -338,7 +338,7 @@ class Search
|
||||
end
|
||||
end
|
||||
|
||||
advanced_filter(/in:image/) do |posts|
|
||||
advanced_filter(/with:images/) do |posts|
|
||||
posts.where("posts.image_url IS NOT NULL")
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user