]> source.dussan.org Git - archiva.git/commitdiff
some logs
authorOlivier Lamy <olamy@apache.org>
Mon, 25 Nov 2013 00:45:12 +0000 (00:45 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 25 Nov 2013 00:45:12 +0000 (00:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1545118 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/pom.xml
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js

index 0c380db43a23abed0b3cc4ceb49c2fc13326e7c5..46382f6774b4dc5bd2ea07bddbb6380c4467155a 100644 (file)
       <classifier>classes</classifier>
     </dependency>
 
+    <dependency>
+      <groupId>org.apache.sirona</groupId>
+      <artifactId>sirona-ehcache-agent</artifactId>
+    </dependency>
+
     <dependency>
       <groupId>org.apache.sirona</groupId>
       <artifactId>sirona-cassandra</artifactId>
index a83e4326f73d8224369080c92c6d75e6a98cb8ec..783c39cc0cceb043b50643c66b1ceff90daf80d9 100644 (file)
@@ -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);