summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Thompson <pthompson@qvalent.com>2015-11-25 10:21:41 +1100
committerPaul Thompson <pthompson@qvalent.com>2015-11-25 10:21:41 +1100
commit5fd14e40c2bbbef3ff58dfe17ab6285d0dcb90d9 (patch)
tree78c037add94506dea085ef8453bd7774ddcec910
parentfea0ba1cf4743740da2b2af3b20a78171a6ce8b0 (diff)
downloadarchiva-5fd14e40c2bbbef3ff58dfe17ab6285d0dcb90d9.tar.gz
archiva-5fd14e40c2bbbef3ff58dfe17ab6285d0dcb90d9.zip
Adding alphabetical ordering for blacklist
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/proxy-connectors.js1
1 files changed, 1 insertions, 0 deletions
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);
}