Преглед изворни кода

Evolution #762: Autoplay recherche

Sevajol Bastien пре 11 година
родитељ
комит
e7a620c802
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/Muzich/CoreBundle/Resources/views/GlobalSearch/results.html.twig

+ 3 - 1
src/Muzich/CoreBundle/Resources/views/GlobalSearch/results.html.twig Прегледај датотеку

@@ -46,7 +46,9 @@
46 46
         
47 47
         {% include "MuzichCoreBundle:SearchElement:default.html.twig" with {
48 48
           'noelements_filter' : true,
49
-          'elements'          : results.elements
49
+          'elements'          : results.elements,
50
+          'display_autoplay'     : true,
51
+          'autoplay_context'     : 'home'
50 52
         }%}
51 53
         
52 54
         {% if display_more_button and results.elements|length %}