forked from Archives/Athou_commafeed
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