mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 20:22:53 -06:00
Fix journal entry table ordering
This commit is contained in:
parent
0fae7504b3
commit
e52702f6c2
@ -354,10 +354,7 @@ class ObjectJournalView(View):
|
|||||||
assigned_object_type=content_type,
|
assigned_object_type=content_type,
|
||||||
assigned_object_id=obj.pk
|
assigned_object_id=obj.pk
|
||||||
)
|
)
|
||||||
journalentry_table = tables.ObjectJournalTable(
|
journalentry_table = tables.ObjectJournalTable(journalentries)
|
||||||
data=journalentries,
|
|
||||||
orderable=False
|
|
||||||
)
|
|
||||||
paginate_table(journalentry_table, request)
|
paginate_table(journalentry_table, request)
|
||||||
|
|
||||||
if request.user.has_perm('extras.add_journalentry'):
|
if request.user.has_perm('extras.add_journalentry'):
|
||||||
|
Loading…
Reference in New Issue
Block a user