Skip to content

Instantly share code, notes, and snippets.

@zidarsk8
Created March 12, 2017 15:19
Show Gist options
  • Save zidarsk8/3f89d8c5e1a44d10f81ad2625c59713c to your computer and use it in GitHub Desktop.
Save zidarsk8/3f89d8c5e1a44d10f81ad2625c59713c to your computer and use it in GitHub Desktop.
diff --git a/src/ggrc/assets/javascripts/models/cacheable.js b/src/ggrc/assets/javascripts/models/cacheable.js
index 4fd64c8b7..693e051dc 100644
--- a/src/ggrc/assets/javascripts/models/cacheable.js
+++ b/src/ggrc/assets/javascripts/models/cacheable.js
@@ -121,7 +121,7 @@
{
attr_title: 'Owner',
attr_name: 'owner',
- attr_sort_field: 'contact.name|email',
+ attr_sort_field: 'owners',
order: 20
},
{
@@ -137,13 +137,11 @@
{
attr_title: 'Primary Contact',
attr_name: 'contact',
- attr_sort_field: 'contact.name|email',
order: 50
},
{
attr_title: 'Secondary Contact',
attr_name: 'secondary_contact',
- attr_sort_field: 'secondary_contact.name|email',
order: 60
},
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment