<commit_before>export default function openstackVolumesList() {
  return {
    restrict: 'E',
    templateUrl: 'views/partials/filtered-list.html',
    controller: OpenstackVolumesList,
    controllerAs: 'ListController'
  };
}

// @ngInject
function OpenstackVolumesList(
  baseResourceListController,
  $stateParams,
  $scope,
  $timeout,
  openstackVolumesService) {
  var controllerScope = this;
  var ResourceController = baseResourceListController.extend({
    init: function() {
      this.controllerScope = controllerScope;
      this._super();
      this.service = openstackVolumesService;

      $scope.$on('actionApplied', function(event, name) {
        if (name === 'volume') {
          $timeout(function() {
            controllerScope.resetCache();
          });
        }
      });
    },
    getTableOptions: function() {
      var options = this._super();
      options.noDataText = 'You have no volumes yet';
      options.noMatchesText = 'No volumes found matching filter.';
      this.rowFields.push('size');
      return options;
    },
    getFilter: function() {<commit_msg>Fix volume list.<commit_after>export default function openstackVolumesList() {
  return {
    restrict: 'E',
    templateUrl: 'views/partials/filtered-list.html',
    controller: OpenstackVolumesList,
    controllerAs: 'ListController'
  };
}

// @ngInject
function OpenstackVolumesList(
  baseResourceListController,
  $stateParams,
  $scope,
  $timeout,
  openstackVolumesService) {
  var controllerScope = this;
  var ResourceController = baseResourceListController.extend({
    init: function() {
      this.controllerScope = controllerScope;
      this._super();
      this.service = openstackVolumesService;
      this.rowFields.push('size');

      $scope.$on('actionApplied', function(event, name) {
        if (name === 'volume') {
          $timeout(function() {
            controllerScope.resetCache();
          });
        }
      });
    },
    getTableOptions: function() {
      var options = this._super();
      options.noDataText = 'You have no volumes yet';
      options.noMatchesText = 'No volumes found matching filter.';
      return options;
    },
    getFilter: function() {
{'fraction_non_alphanumeric': 0.11949114039073148, 'fraction_numerical': 0.0, 'mean_word_length': 3.047794117647059, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2655861', 'n_tokens_mistral': 617, 'n_tokens_neox': 614, 'n_words': 130}