[kune-commits] r1094 - in trunk/src/main/java/org/ourproject/kune: platf/server/rest workspace/client/editor/insertlocalmedia workspace/client/search

vjrj vjrj at ourproject.org
Sat Apr 18 18:33:28 CEST 2009


Author: vjrj
Date: 2009-04-18 18:33:27 +0200 (Sat, 18 Apr 2009)
New Revision: 1094

Modified:
   trunk/src/main/java/org/ourproject/kune/platf/server/rest/ContentJSONService.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertLocalMediaPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/search/SearcherContants.java
Log:
Incomplete - task Hibernate search improving 


Modified: trunk/src/main/java/org/ourproject/kune/platf/server/rest/ContentJSONService.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/server/rest/ContentJSONService.java	2009-04-18 15:37:20 UTC (rev 1093)
+++ trunk/src/main/java/org/ourproject/kune/platf/server/rest/ContentJSONService.java	2009-04-18 16:33:27 UTC (rev 1094)
@@ -68,7 +68,7 @@
     }
 
     @REST(params = { SearcherContants.QUERY_PARAM, SearcherContants.START_PARAM, SearcherContants.LIMIT_PARAM,
-            SearcherContants.MIMETYPE_PARAM, SearcherContants.MIMETYPE_PARAM2 })
+            SearcherContants.MIMETYPE_PARAM, SearcherContants.MIMETYPE2_PARAM })
     public SearchResultDTO<LinkDTO> search(final String search, final Integer firstResult, final Integer maxResults,
             final String mimetype, final String mimetype2) {
         SearchResult<Content> results = contentManager.searchMime(search, firstResult, maxResults, mimetype, mimetype2);

Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertLocalMediaPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertLocalMediaPanel.java	2009-04-18 15:37:20 UTC (rev 1093)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insertlocalmedia/InsertLocalMediaPanel.java	2009-04-18 16:33:27 UTC (rev 1094)
@@ -35,7 +35,7 @@
         cb.setAllowBlank(false);
         cb.setWidth(220);
         cb.setStoreBaseParams(new UrlParam[] { new UrlParam(SearcherContants.MIMETYPE_PARAM, BasicMimeTypeDTO.AUDIO),
-                new UrlParam(SearcherContants.MIMETYPE_PARAM, BasicMimeTypeDTO.VIDEO) });
+                new UrlParam(SearcherContants.MIMETYPE2_PARAM, BasicMimeTypeDTO.VIDEO) });
 
         hrefField.setVisible(false);
         hrefField.disable();

Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/search/SearcherContants.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/search/SearcherContants.java	2009-04-18 15:37:20 UTC (rev 1093)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/search/SearcherContants.java	2009-04-18 16:33:27 UTC (rev 1094)
@@ -6,7 +6,7 @@
     String LIMIT_PARAM = "limit";
     String QUERY_PARAM = "query";
     String MIMETYPE_PARAM = "mimetype";
-    String MIMETYPE_PARAM2 = "mimetype2";
+    String MIMETYPE2_PARAM = "mimetype2";
 
     String CONTENT_DATA_PROXY_URL = "/kune/json/ContentJSONService/search";
     String CONTENT_TEMPLATE_TEXT_PREFIX = "<div class=\"search-item\"><span class=\"kune-IconHyperlink\"><img src=\"";




More information about the kune-commits mailing list