Commit 1da1849d by bergquist

fix(playlist): fixes broken search filter

parent 98dccb86
......@@ -54,7 +54,7 @@ function (angular, config, _) {
$scope.filterFoundPlaylistItems = function() {
$scope.filteredPlaylistItems = _.reject($scope.foundPlaylistItems, function(playlistItem) {
return _.findWhere($scope.playlistItems, function(listPlaylistItem) {
return listPlaylistItem === playlistItem;
return parseInt(listPlaylistItem.value) === playlistItem.id;
});
});
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment