mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-03-14 19:59:38 +01:00
Fixes issue with wrong db column names (#151)
This commit is contained in:
parent
d077600182
commit
b6b0d22643
@ -38,7 +38,7 @@ class ListController extends Controller
|
||||
$links = $list->links()
|
||||
->privateOnly(false)
|
||||
->orderBy(
|
||||
$request->input('orderBy', 'name'),
|
||||
$request->input('orderBy', 'title'),
|
||||
$request->input('orderDir', 'ASC')
|
||||
)->paginate(getPaginationLimit());
|
||||
|
||||
@ -46,7 +46,7 @@ class ListController extends Controller
|
||||
'list' => $list,
|
||||
'list_links' => $links,
|
||||
'route' => $request->getBaseUrl(),
|
||||
'order_by' => $request->input('orderBy', 'name'),
|
||||
'order_by' => $request->input('orderBy', 'title'),
|
||||
'order_dir' => $request->input('orderDir', 'ASC'),
|
||||
]);
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ class TagController extends Controller
|
||||
$links = $tag->links()
|
||||
->privateOnly(false)
|
||||
->orderBy(
|
||||
$request->input('orderBy', 'name'),
|
||||
$request->input('orderBy', 'title'),
|
||||
$request->input('orderDir', 'ASC')
|
||||
)->paginate(getPaginationLimit());
|
||||
|
||||
@ -31,7 +31,7 @@ class TagController extends Controller
|
||||
'tag' => $tag,
|
||||
'tag_links' => $links,
|
||||
'route' => $request->getBaseUrl(),
|
||||
'order_by' => $request->input('orderBy', 'name'),
|
||||
'order_by' => $request->input('orderBy', 'title'),
|
||||
'order_dir' => $request->input('orderDir', 'ASC'),
|
||||
]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user