Sha256: df697f6cca64d9b49a3ece591a4b38bfd4c418a05201986092a48df31ce1350e

Contents?: true

Size: 553 Bytes

Versions: 121

Compression:

Stored size: 553 Bytes

Contents

/**
 * @ngdoc object
 * @name  Bastion.content-views.controller:FilterDetailsController
 *
 * @requires $scope
 * @requires Filter
 *
 * @description
 *   Handles fetching a filter.
 */
angular.module('Bastion.content-views').controller('FilterDetailsController',
    ['$scope', 'Filter', function ($scope, Filter) {

        $scope.filter = Filter.get({'content_view_id': $scope.$stateParams.contentViewId, filterId: $scope.$stateParams.filterId});

        $scope.updateFilter = function (filter) {
            filter.$update();
        };

    }]
);

Version data entries

121 entries across 121 versions & 1 rubygems

Version Path
katello-2.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-details.controller.js