Browse Source

Anomalie #653: Bug ?! page fav: Petit oublie de '[]' comme liste de tags par defaut dans l'url du lien pour en afficher plus.

Bastien Sevajol 11 years ago
parent
commit
d23b1a0986

+ 1 - 0
src/Muzich/FavoriteBundle/Controller/FavoriteController.php View File

254
     $search_object = new ElementSearcher();
254
     $search_object = new ElementSearcher();
255
     $tags = null;
255
     $tags = null;
256
     
256
     
257
+    //die(var_dump($tag_ids));
257
     if (count($tag_ids))
258
     if (count($tag_ids))
258
     {
259
     {
259
       $tags = array();
260
       $tags = array();

+ 1 - 1
src/Muzich/FavoriteBundle/Resources/views/Favorite/userList.html.twig View File

32
     {% include "MuzichCoreBundle:SearchElement:more_button.html.twig" with {
32
     {% include "MuzichCoreBundle:SearchElement:more_button.html.twig" with {
33
       'more_path'     : path('favorite_get', {
33
       'more_path'     : path('favorite_get', {
34
         'user_id': viewed_user.id,
34
         'user_id': viewed_user.id,
35
-        'tags_ids_json' : ''
35
+        'tags_ids_json' : '[]'
36
       }),
36
       }),
37
       'more_url_path' : path('favorite_get', {
37
       'more_url_path' : path('favorite_get', {
38
         'user_id': viewed_user.id,
38
         'user_id': viewed_user.id,