Skip to content

Commit

Permalink
Fixes #7088/BZ1130224: reload filter after saving date range errata.
Browse files Browse the repository at this point in the history
After saving the rule it was being replaced by the previous value
that was stored in the fitler.  This commit reloads the filter so
that the rule is current.

http://projects.theforeman.org/issues/7088
https://bugzilla.redhat.com/show_bug.cgi?id=1130224
  • Loading branch information
Walden Raines committed Aug 14, 2014
1 parent da56e03 commit f7e7615
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ angular.module('Bastion.content-views').controller('DateTypeErrataFilterControll

$scope.save = function (rule, filter) {
var params = {filterId: filter.id, ruleId: rule.id};

rule.$update(params, success, failure);
$scope.filter = $scope.filter.$get();
};

function success() {
Expand Down

0 comments on commit f7e7615

Please sign in to comment.