@@ -20,16 +20,16 @@ |
||
| 20 | 20 | |
| 21 | 21 | if ($searchKeywords) { |
| 22 | 22 | $quotes = Quote::orderBy('author') |
| 23 | - ->where('author', 'like', '%'.$request->input('keywords').'%') |
|
| 24 | - ->paginate(20); |
|
| 23 | + ->where('author', 'like', '%'.$request->input('keywords').'%') |
|
| 24 | + ->paginate(20); |
|
| 25 | 25 | } else { |
| 26 | 26 | $quotes = Quote::orderBy('author') |
| 27 | - ->paginate(20); |
|
| 27 | + ->paginate(20); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | return view('php-responsive-quote::index', compact('quotes')) |
| 31 | - ->with('i', (request()->input('page', 1) - 1) * 20) |
|
| 32 | - ->with('searchKeywords', $searchKeywords); |
|
| 31 | + ->with('i', (request()->input('page', 1) - 1) * 20) |
|
| 32 | + ->with('searchKeywords', $searchKeywords); |
|
| 33 | 33 | //return view('php-responsive-quote::index'); |
| 34 | 34 | } |
| 35 | 35 | |