diff --git a/js/app/collections/sounds.js b/js/app/collections/sounds.js index 7cb5b1e..ab911f8 100644 --- a/js/app/collections/sounds.js +++ b/js/app/collections/sounds.js @@ -19,7 +19,7 @@ define( var pattern = new RegExp(search, 'gi'); return new Sounds(this.filter(function(data) { - return pattern.test(data.get('title')); + return pattern.test(data.get('title')) || pattern.test(data.get('character')); })); } }); diff --git a/js/app/templates/sound.hbs b/js/app/templates/sound.hbs index fa1bd39..8f3503f 100644 --- a/js/app/templates/sound.hbs +++ b/js/app/templates/sound.hbs @@ -1 +1 @@ -{{title}} +{{title}}