Don't filter for blank queries

This commit is contained in:
Jorge Manrubia
2025-05-06 07:29:59 +02:00
parent 75558d0056
commit ca4c867cdd
+1 -1
View File
@@ -2,7 +2,7 @@ class Command::Search < Command
store_accessor :data, :query
def execute
redirect_to cards_path("terms[]": query)
redirect_to cards_path("terms[]": query.presence)
end
def description