From: Olivier Lamy Date: Tue, 14 Jan 2014 05:27:18 +0000 (+0000) Subject: fix issue with typeahead X-Git-Tag: archiva-2.0.0-RC1~31 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cf0be71e5fd4e873918d0f199f36eeafc3e374e4;p=archiva.git fix issue with typeahead git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1557935 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-indexer/src/main/java/org/apache/archiva/indexer/search/MavenRepositorySearch.java b/archiva-modules/archiva-base/archiva-indexer/src/main/java/org/apache/archiva/indexer/search/MavenRepositorySearch.java index 554208cc3..45b5db0cc 100644 --- a/archiva-modules/archiva-base/archiva-indexer/src/main/java/org/apache/archiva/indexer/search/MavenRepositorySearch.java +++ b/archiva-modules/archiva-base/archiva-indexer/src/main/java/org/apache/archiva/indexer/search/MavenRepositorySearch.java @@ -261,6 +261,7 @@ public class MavenRepositorySearch try { FlatSearchRequest request = new FlatSearchRequest( q ); + request.setContexts( getIndexingContexts( indexingContextIds ) ); FlatSearchResponse response = indexer.searchFlat( request ); diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/index.html b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/index.html index 9a91bd1b6..dc13280c6 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/index.html +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/index.html @@ -34,7 +34,7 @@ - + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js index 79dd9e8b9..4283b2407 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js @@ -62,7 +62,7 @@ $.ajax({ "jquery.tmpl": "jquery.tmpl", "utils": "archiva/utils", "startup": "archiva/startup", - "jquery.ui": "jquery-ui-1.9.2.custom.min", + "jquery.ui": "jquery-ui-1.10.3.custom.min", "jquery.ui.widget": "jquery.ui.widget-1.9.2", "jquery.cookie": "jquery.cookie.1.0.0", "bootstrap": "bootstrap.2.2.2", diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/main.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/main.js index 29473a3d8..c6cbbc694 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/main.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/main.js @@ -883,7 +883,7 @@ function(jquery,ui,sammy,tmpl,i18n,jqueryCookie,bootstrap,archivaSearch,jqueryVa name: 'quick-search-result', remote: 'restServices/archivaServices/searchService/quickSearch?queryString=%QUERY', valueKey: 'artifactId', - maxParallelRequests:1, + maxParallelRequests:0, limit: 50 } ); diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/generics.html b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/generics.html index 6cd30d173..118265db8 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/generics.html +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/generics.html @@ -77,7 +77,7 @@
${$.i18n.prop('welcome.quick.search')}
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/menu.html b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/menu.html index f21d01143..df8c42e4a 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/menu.html +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/menu.html @@ -108,8 +108,8 @@
  • -