From ec3f21d8a1743b9924177ed54f5585b2c4e3d2a3 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 31 Aug 2023 17:56:52 +0000 Subject: [PATCH] Fixes #36712 - Add true select all to errata legacy UI --- .../javascripts/bastion_katello/errata/errata.controller.js | 1 + .../assets/javascripts/bastion_katello/errata/views/errata.html | 1 + engines/bastion_katello/test/errata/errata.controller.test.js | 1 + 3 files changed, 3 insertions(+) diff --git a/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.controller.js b/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.controller.js index 5e9b2cc0f4b..c04be528117 100644 --- a/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.controller.js +++ b/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.controller.js @@ -35,6 +35,7 @@ angular.module('Bastion.errata').controller('ErrataController', } nutupane = $scope.nutupane = new Nutupane(Erratum, params); + nutupane.enableSelectAllResults(); $scope.controllerName = 'katello_errata'; $scope.table = nutupane.table; $scope.removeRow = nutupane.removeRow; diff --git a/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/errata.html b/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/errata.html index 41a47620609..4c8b683f73a 100644 --- a/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/errata.html +++ b/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/errata.html @@ -59,6 +59,7 @@
+
diff --git a/engines/bastion_katello/test/errata/errata.controller.test.js b/engines/bastion_katello/test/errata/errata.controller.test.js index da2e556fcb9..4d1c653e416 100644 --- a/engines/bastion_katello/test/errata/errata.controller.test.js +++ b/engines/bastion_katello/test/errata/errata.controller.test.js @@ -22,6 +22,7 @@ describe('Controller: ErrataController', function() { showColumns: function() {} }; this.get = function() {}; + this.enableSelectAllResults = function () {}; this.setParams = function (params) {}; this.getParams = function (params) { return {}; }; this.refresh = function () {};