Skip to content

Commit

Permalink
Improve memorials listing
Browse files Browse the repository at this point in the history
  • Loading branch information
brylie committed Oct 16, 2024
1 parent 29c0c0e commit 3ca54b7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions memorials/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from wagtail.admin.ui.tables import Column
from wagtail.admin.ui.tables.pages import BulkActionsColumn, PageTitleColumn
from wagtail.admin.viewsets.pages import PageListingViewSet

from .models import Memorial
Expand All @@ -10,6 +11,15 @@ class MemorialViewSet(PageListingViewSet):
name = "memorials"
icon = "user"
columns = [
BulkActionsColumn(
"id",
),
PageTitleColumn(
"title",
label="Title",
sort_key="title",
classname="title",
),
Column(
"memorial_person",
label="Person",
Expand Down

0 comments on commit 3ca54b7

Please sign in to comment.