mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
fix search
This commit is contained in:
@@ -550,9 +550,10 @@ module.controller('ToolbarCtrl', [
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.search = function() {
|
$scope.search = function() {
|
||||||
$location.search('q', $scope.keywords);
|
var keywords = this.keywords;
|
||||||
|
$location.search('q', keywords);
|
||||||
$scope.$emit('emitEntrySearch', {
|
$scope.$emit('emitEntrySearch', {
|
||||||
keywords : $scope.keywords
|
keywords : keywords
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
$scope.showButtons = function() {
|
$scope.showButtons = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user