Add default sort for PersonNote grid

This commit is contained in:
Lance Edgar 2019-05-15 15:34:32 -05:00
parent e6301f0d06
commit 6ea4d9c413

View file

@ -350,6 +350,8 @@ class PersonNoteView(MasterView):
CreatorPerson.uuid == model.User.person_uuid)) CreatorPerson.uuid == model.User.person_uuid))
g.set_sorter('created_by', CreatorPerson.display_name) g.set_sorter('created_by', CreatorPerson.display_name)
g.set_sort_defaults('created', 'desc')
g.set_link('person') g.set_link('person')
g.set_link('subject') g.set_link('subject')
g.set_link('created') g.set_link('created')