Parcourir la 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 il y a 11 ans
Parent
révision
d23b1a0986

+ 1 - 0
src/Muzich/FavoriteBundle/Controller/FavoriteController.php Voir le fichier

@@ -254,6 +254,7 @@ class FavoriteController extends Controller
254 254
     $search_object = new ElementSearcher();
255 255
     $tags = null;
256 256
     
257
+    //die(var_dump($tag_ids));
257 258
     if (count($tag_ids))
258 259
     {
259 260
       $tags = array();

+ 1 - 1
src/Muzich/FavoriteBundle/Resources/views/Favorite/userList.html.twig Voir le fichier

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