|
@@ -51,8 +51,11 @@ class Controller extends BaseController
|
51
|
51
|
$this->ElementSearcher = new ElementSearcher();
|
52
|
52
|
$this->ElementSearcher->init(array(
|
53
|
53
|
'tags' => $this->getDoctrine()->getRepository('MuzichCoreBundle:User')
|
54
|
|
- // TODO: 3: CONFIG !!
|
55
|
|
- ->getTagIdsFavorites($this->getUserId(), 3)
|
|
54
|
+ ->getTagIdsFavorites(
|
|
55
|
+ $this->getUserId(),
|
|
56
|
+ $this->container->getParameter('search_default_favorites_tags_count')
|
|
57
|
+ ),
|
|
58
|
+ 'count' => $this->container->getParameter('search_default_count')
|
56
|
59
|
));
|
57
|
60
|
|
58
|
61
|
// Et on met en session les paramètres
|