Commit 4ac599af authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

Fix bug where I forgot to or my search conditions for doors

parent 07c50338
Pipeline #10498 failed with stages
in 2 minutes and 52 seconds
......@@ -111,8 +111,8 @@ class DatabaseDoorsRepository implements DoorsRepository
} else {
$doors = \App\Door::query()
->where('location', 'ILIKE', "%$query%")
->where('name', 'ILIKE', "%$query%")
->where('version', 'ILIKE', "%$query%")
->orWhere('name', 'ILIKE', "%$query%")
->orWhere('version', 'ILIKE', "%$query%")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment