From 5fd14e40c2bbbef3ff58dfe17ab6285d0dcb90d9 Mon Sep 17 00:00:00 2001 From: Paul Thompson Date: Wed, 25 Nov 2015 10:21:41 +1100 Subject: [PATCH] Adding alphabetical ordering for blacklist --- .../js/archiva/admin/repository/maven2/proxy-connectors.js | 1 + 1 file changed, 1 insertion(+) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js index 48019c72a..a988ba5f0 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js @@ -178,6 +178,7 @@ define("archiva/admin/repository/maven2/proxy-connectors",["jquery","i18n","jque var pattern = $("#main-content").find("#blacklist-value").val(); var tab = self.proxyConnector.blackListPatterns(); tab.push(pattern); + tab.sort(); self.proxyConnector.blackListPatterns(tab); self.proxyConnector.modified(true); } -- 2.39.5