Merge pull request #622 from openclassify/dia

#1846 [admin] Advs sort by name
This commit is contained in:
Ozcan Durak 2020-07-28 12:39:00 +03:00 committed by GitHub
commit 23491a87cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,7 @@ class AdvsController extends AdminController
'entry.id',
'name' => [
'class' => 'advs-name',
'sort_column' => 'slug',
'value' => function (EntryInterface $entry) {
return "<a href='" . $this->model->getAdvDetailLinkByModel($entry, 'list') . "' > " . $entry->name . "</a > ";
},