feature #8
@ -143,7 +143,7 @@ public function apiCustomSearch(Request $request): JsonResponse
|
|||||||
->where([
|
->where([
|
||||||
['blogName', 'LIKE', '%' . $request->location_search . '%', 'or'],
|
['blogName', 'LIKE', '%' . $request->location_search . '%', 'or'],
|
||||||
['blogUrl', 'LIKE', '%' . $request->location_search . '%', 'or'],
|
['blogUrl', 'LIKE', '%' . $request->location_search . '%', 'or'],
|
||||||
['blogOwnEmail', 'LIKE', '%' . $request->location_search . '%', 'or']])
|
['blogOwnEmail', '=', $request->location_search, 'or']])
|
||||||
->select('blogName','blogUrl','blogDescription','blogIcon')
|
->select('blogName','blogUrl','blogDescription','blogIcon')
|
||||||
->orderBy('id')
|
->orderBy('id')
|
||||||
->get()
|
->get()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user