v0.9.9a - Fixed order
This commit is contained in:
parent
d64e8fc4b8
commit
7b52c43a05
|
@ -222,7 +222,6 @@ class EventController extends Controller
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function search(Request $request){
|
public function search(Request $request){
|
||||||
if($request->ajax()){
|
if($request->ajax()){
|
||||||
$output = "<tr>".
|
$output = "<tr>".
|
||||||
|
@ -268,7 +267,6 @@ class EventController extends Controller
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function closetags($html) {
|
public function closetags($html) {
|
||||||
preg_match_all('#<(?!meta|img|br|hr|input\b)\b([a-z]+)(?: .*)?(?<![/|/ ])>#iU', $html, $result);
|
preg_match_all('#<(?!meta|img|br|hr|input\b)\b([a-z]+)(?: .*)?(?<![/|/ ])>#iU', $html, $result);
|
||||||
$openedtags = $result[1];
|
$openedtags = $result[1];
|
||||||
|
|
|
@ -31,7 +31,7 @@ class GuideController extends Controller
|
||||||
*/
|
*/
|
||||||
public function index(Request $request)
|
public function index(Request $request)
|
||||||
{
|
{
|
||||||
$guides = Guide::query()->paginate($request->input("limit", 20));
|
$guides = Guide::query()->orderBy("created_at", "desc")->paginate($request->input("limit", 20));
|
||||||
|
|
||||||
return Response::detect("guides.index", [ "guides" => $guides]);
|
return Response::detect("guides.index", [ "guides" => $guides]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue