]> git.agnieray.net Git - galette.git/commitdiff
Disable free search; refs #1684
authorJohan Cwiklinski <johan@x-tnd.be>
Mon, 12 Jun 2023 19:11:11 +0000 (21:11 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Mon, 12 Jun 2023 19:11:11 +0000 (21:11 +0200)
galette/templates/default/pages/advanced_search.html.twig

index f0166d944bddd43cf2d536f4e51a27316a1b9971..6dee3cc963b8204b1b3e8a5c6fcc2c44c3227025 100644 (file)
 {% endfor %}
                 </div>
             </div>
+            {# Disable free search; see https://bugs.galette.eu/issues/1684
                 <noscript><div class="ui message">{{ _T("This feature requires javascript.") }}</div></noscript>
                 <div class="jsonly disabled galetteform ui styled fluid accordion field">
                     <div class="active ui title">
     {% endfor %}
 
                                         </select>
-    {# may not be defined #}
-    {#  #}
     {% if type is not defined %}{% set type = null %}{% endif %}
                                         <span class="data fields">
                                             <input type="hidden" name="free_type[]" value="{% if cur_field is defined %}{{ cur_field.getType() }}{% endif %}"/>
                         </ul>
                     </div>
                 </div>
+            #}
             <div class="ui basic center aligned segment">
                 <button type="submit" class="ui labeled icon primary button action">
                     <i class="search icon" aria-hidden="true"></i>