From 77419dccb4e73748d3f903d02d5ce54db4f0a07a Mon Sep 17 00:00:00 2001 From: Antoine Date: Tue, 21 Feb 2017 23:24:11 +0100 Subject: [PATCH] =?UTF-8?q?Ajoute=20la=20possibilit=C3=A9=20de=20pouvoir?= =?UTF-8?q?=20filtrer=20sur=20le=20nom=20de=20l'=C3=A9pisode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/app/collections/sounds.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/app/collections/sounds.js b/js/app/collections/sounds.js index f6899e0..259777d 100644 --- a/js/app/collections/sounds.js +++ b/js/app/collections/sounds.js @@ -27,7 +27,8 @@ define("collections/sounds", function(require) { pattern.lastIndex = 0; return pattern.test(that.removeDiacritics(data.get("title"))) - || pattern.test(that.removeDiacritics(data.get("character"))); + || pattern.test(that.removeDiacritics(data.get("character"))) + || pattern.test(that.removeDiacritics(data.get("episode"))); })); }, removeDiacritics: function(str) {