Merge pull request #944 from rscullin/master

Make buffer search case insensitive
This commit is contained in:
Lorenz Hübschle-Schneider 2017-05-19 09:35:50 +02:00 committed by GitHub
commit 899413d134

View file

@ -711,7 +711,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
}
} else {
// filter by buffer name
return buffer.fullName.indexOf($scope.search) !== -1;
return buffer.fullName.toLowerCase().indexOf($scope.search.toLowerCase()) !== -1;
}
};