mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
Merge pull request #622 from openclassify/dia
#1846 [admin] Advs sort by name
This commit is contained in:
commit
23491a87cb
@ -109,6 +109,7 @@ class AdvsController extends AdminController
|
|||||||
'entry.id',
|
'entry.id',
|
||||||
'name' => [
|
'name' => [
|
||||||
'class' => 'advs-name',
|
'class' => 'advs-name',
|
||||||
|
'sort_column' => 'slug',
|
||||||
'value' => function (EntryInterface $entry) {
|
'value' => function (EntryInterface $entry) {
|
||||||
return "<a href='" . $this->model->getAdvDetailLinkByModel($entry, 'list') . "' > " . $entry->name . "</a > ";
|
return "<a href='" . $this->model->getAdvDetailLinkByModel($entry, 'list') . "' > " . $entry->name . "</a > ";
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user