From fea0ba1cf4743740da2b2af3b20a78171a6ce8b0 Mon Sep 17 00:00:00 2001 From: Paul Thompson Date: Wed, 25 Nov 2015 10:21:12 +1100 Subject: [PATCH] Adding alphabetical order for the whitelist --- .../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 7c498f3cf..48019c72a 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 @@ -191,6 +191,7 @@ define("archiva/admin/repository/maven2/proxy-connectors",["jquery","i18n","jque var pattern = $("#main-content" ).find("#whitelist-value").val(); var tab = self.proxyConnector.whiteListPatterns(); tab.push(pattern); + tab.sort(); self.proxyConnector.whiteListPatterns(tab); self.proxyConnector.modified(true); -- 2.39.5