diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-01-15 08:54:19 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-01-15 08:54:19 +0000 |
| commit | 91be49640f0d0e6fd24fc699848bce117bedafa7 (patch) | |
| tree | 1c7db231500223506c7a73979afd0b2da39cff9b /resources | |
| parent | aaad15c2f56c34c08ffa00ca5fbf9b4f4dc42640 (diff) | |
| download | webtrees-91be49640f0d0e6fd24fc699848bce117bedafa7.tar.gz webtrees-91be49640f0d0e6fd24fc699848bce117bedafa7.tar.bz2 webtrees-91be49640f0d0e6fd24fc699848bce117bedafa7.zip | |
Add sorting and pagination to list of stories
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/views/modules/stories/config.phtml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/resources/views/modules/stories/config.phtml b/resources/views/modules/stories/config.phtml index 330ad62b25..48bdab303e 100644 --- a/resources/views/modules/stories/config.phtml +++ b/resources/views/modules/stories/config.phtml @@ -30,7 +30,16 @@ use Fisharebest\Webtrees\I18N; </a> </p> -<table class="table table-bordered table-sm"> +<table + class="table table-bordered table-sm datatables d-none" + <?= view('lists/datatables-attributes') ?> + data-columns="<?= e(json_encode([ + null, + null, + ['sortable' => false], + ['sortable' => false], + ])) ?>" +> <thead> <tr> <th><?= I18N::translate('Individual') ?></th> |
