Correct bug with search link when no movies are found
This commit is contained in:
parent
ae8cda3791
commit
2b347bb7e6
@ -72,7 +72,7 @@ module Librarix
|
||||
end
|
||||
|
||||
def maybe_search?
|
||||
movies.empty? && params.key?('title')
|
||||
movies.all? { |k,v| v.empty? } && params.key?('title')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user