From 5b4a65a60c5b523c27a994b552d491f6f99d7c46 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Wed, 4 Sep 2019 21:21:07 -0700 Subject: [PATCH] [L6] Break search functionality without breaking the entire app --- .../Illuminate/Database/Eloquent/Builder.php | 18 ++++++++++++++++++ app/Models/Node.php | 3 ++- app/Models/Pack.php | 4 ++++ app/Models/Server.php | 3 ++- app/Models/Traits/Searchable.php | 13 +++++++++++++ app/Models/User.php | 3 ++- 6 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 app/Extensions/Illuminate/Database/Eloquent/Builder.php create mode 100644 app/Models/Traits/Searchable.php diff --git a/app/Extensions/Illuminate/Database/Eloquent/Builder.php b/app/Extensions/Illuminate/Database/Eloquent/Builder.php new file mode 100644 index 000000000..0a152eb26 --- /dev/null +++ b/app/Extensions/Illuminate/Database/Eloquent/Builder.php @@ -0,0 +1,18 @@ +