mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 16:48:16 -06:00
Notifications/subscriptions cannot be ordered by object
This commit is contained in:
parent
aa8a891122
commit
854b7451bb
@ -273,7 +273,8 @@ class SubscriptionTable(NetBoxTable):
|
|||||||
)
|
)
|
||||||
object = tables.Column(
|
object = tables.Column(
|
||||||
verbose_name=_('Object'),
|
verbose_name=_('Object'),
|
||||||
linkify=True
|
linkify=True,
|
||||||
|
orderable=False
|
||||||
)
|
)
|
||||||
actions = columns.ActionsColumn(
|
actions = columns.ActionsColumn(
|
||||||
actions=('delete',)
|
actions=('delete',)
|
||||||
@ -294,7 +295,8 @@ class NotificationTable(NetBoxTable):
|
|||||||
linkify={
|
linkify={
|
||||||
'viewname': 'extras:notification_read',
|
'viewname': 'extras:notification_read',
|
||||||
'args': [tables.A('pk')],
|
'args': [tables.A('pk')],
|
||||||
}
|
},
|
||||||
|
orderable=False
|
||||||
)
|
)
|
||||||
created = columns.DateTimeColumn(
|
created = columns.DateTimeColumn(
|
||||||
timespec='minutes',
|
timespec='minutes',
|
||||||
|
Loading…
Reference in New Issue
Block a user