# HG changeset patch # User ymh # Date 1272896212 -7200 # Node ID 79a65c633bef911a844d124ac07e756532239932 # Parent a8e80a8a239d1df4c837045db0e363dc9f9d44d6 correct tag link. Kind of work, still need some work to debug accent on solr... diff -r a8e80a8a239d -r 79a65c633bef web/thdProject/apps/frontend/modules/tag/actions/viewTagListAction.class.php --- a/web/thdProject/apps/frontend/modules/tag/actions/viewTagListAction.class.php Mon May 03 11:47:39 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/tag/actions/viewTagListAction.class.php Mon May 03 16:16:52 2010 +0200 @@ -6,7 +6,7 @@ // Parse request parameters $format = $request->getRequestFormat(); - $this->tag = (string) utf8_encode($request->getParameter('tag')); + $this->tag = (string) $request->getParameter('tag'); $pageNb = (int) $this->getRequestParameter('page_nb', 1); $this->pageIndex = $pageNb -1; $this->pageNbItems = 10; @@ -14,7 +14,7 @@ $solr = uvmcSolrServicesManager::getInstance()->getService(); - $response = $solr->search("tags_exact:".$this->tag, $this->pageIndex * $this->pageNbItems, $this->pageNbItems); + $response = $solr->search("tags:".$this->tag, $this->pageIndex * $this->pageNbItems, $this->pageNbItems); $results = unserialize($response->getRawResponse());