From 1aae3ae2b5ccc15e24d65a598670b037f86a7cdb Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Fri, 10 Feb 2017 04:04:50 -0500 Subject: [PATCH] Fixed Sorting In Wanted and Cutoff (#693) --- src/UI/Wanted/Cutoff/CutoffUnmetLayout.js | 6 +++--- src/UI/Wanted/Missing/MissingLayout.js | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/UI/Wanted/Cutoff/CutoffUnmetLayout.js b/src/UI/Wanted/Cutoff/CutoffUnmetLayout.js index ef6b9eacc..a1a82b891 100644 --- a/src/UI/Wanted/Cutoff/CutoffUnmetLayout.js +++ b/src/UI/Wanted/Cutoff/CutoffUnmetLayout.js @@ -36,10 +36,10 @@ module.exports = Marionette.Layout.extend({ sortable : false }, { - name : 'this', - label : 'Movie Title', + name : 'title', + label : 'Title', cell : MovieTitleCell, - sortValue : this.sortTitle + cellValue : 'this', }, { name : 'inCinemas', diff --git a/src/UI/Wanted/Missing/MissingLayout.js b/src/UI/Wanted/Missing/MissingLayout.js index fbf1206f8..49f88ba03 100644 --- a/src/UI/Wanted/Missing/MissingLayout.js +++ b/src/UI/Wanted/Missing/MissingLayout.js @@ -38,9 +38,10 @@ module.exports = Marionette.Layout.extend({ sortable : false }, { - name : 'this', - label : 'Movie Title', - cell : MovieTitleCell, + name : 'title', + label : 'Title', + cell : MovieTitleCell, + cellValue : 'this', }, { name : 'inCinemas',