aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-11-25 00:45:12 +0000
committerOlivier Lamy <olamy@apache.org>2013-11-25 00:45:12 +0000
commite027bc4a80fcb8cf5ad90c86677f07a5d5410afc (patch)
tree42f1fbe6066a8b6be5c5377418ffdc31c19218ad
parent0edb0a75ef0ed73ff9bb3267520bae5b79885e1c (diff)
downloadarchiva-e027bc4a80fcb8cf5ad90c86677f07a5d5410afc.tar.gz
archiva-e027bc4a80fcb8cf5ad90c86677f07a5d5410afc.zip
some logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1545118 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/pom.xml5
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js4
2 files changed, 8 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml
index 0c380db43..46382f677 100644
--- a/archiva-modules/archiva-web/archiva-webapp/pom.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml
@@ -610,6 +610,11 @@
<dependency>
<groupId>org.apache.sirona</groupId>
+ <artifactId>sirona-ehcache-agent</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.sirona</groupId>
<artifactId>sirona-cassandra</artifactId>
</dependency>
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js
index a83e4326f..783c39cc0 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js
@@ -17,7 +17,7 @@
* under the License.
*/
define("archiva.search",["jquery","i18n","jquery.tmpl","select2","knockout","knockout.simpleGrid","jqueryFileTree","prettify", "d3"]
-, function(jquery,i18n,jqueryTmpl,select2,ko,koSimpleGrid) {
+, function(jquery,i18n,jqueryTmpl,select2,ko,koSimpleGrid,jqueryFileTree,prettify,d3) {
//-----------------------------------------
// browse part
@@ -1960,6 +1960,7 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","select2","knockout","kno
$( "#main-content").find("#search-filter-auto-"+property ).autocomplete({
minLength: 0,
source: function(request, response){
+ $.log("source auto filter search");
var founds=[];
$(resultViewModel.artifacts()).each(function(idx,artifact){
if(artifact[property] && artifact[property].startsWith(request.term)){
@@ -2022,6 +2023,7 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","select2","knockout","kno
],
pageSize: 10,
gridUpdateCallBack: function(){
+ $.log("gridUpdateCallBack search result");
applyAutocompleteOnHeader('groupId',self);
applyAutocompleteOnHeader('artifactId',self);
applyAutocompleteOnHeader('version',self);