Make buffer search case insensitive

This commit is contained in:
Robert Scullin 2017-05-19 00:35:04 -04:00
parent 539f892e8e
commit b598d1b8d1

View file

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