mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-09 11:42:28 +01:00
Merge branch 'overint-urlfix'
This commit is contained in:
commit
91b9def4aa
@ -113,7 +113,8 @@ class AdminPaginationController extends Controller {
|
||||
Delete
|
||||
</a>';
|
||||
})
|
||||
->escapeColumns(['short_url', 'long_url', 'creator'])
|
||||
->editColumn('long_url', '<a target="_blank" title="{{ $long_url }}" href="{{ $long_url }}">{{ str_limit($long_url, 50) }}</a>')
|
||||
->escapeColumns(['short_url', 'creator'])
|
||||
->make(true);
|
||||
}
|
||||
|
||||
@ -125,7 +126,8 @@ class AdminPaginationController extends Controller {
|
||||
->select(['short_url', 'long_url', 'clicks', 'created_at']);
|
||||
|
||||
return Datatables::of($user_links)
|
||||
->escapeColumns()
|
||||
->editColumn('long_url', '<a target="_blank" title="{{ $long_url }}" href="{{ $long_url }}">{{ str_limit($long_url, 50) }}</a>')
|
||||
->escapeColumns(['short_url'])
|
||||
->make(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user