Don't allow empty searches

This commit is contained in:
2023-11-24 22:53:29 +11:00
parent bed50e9b7e
commit a341fbe072

View File

@@ -19,7 +19,7 @@ module Adamantium
end
expose :query do |query:|
query
query == "" ? nil : query
end
expose :post_years do