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