[Bug?] Search this Forum only selected by default.

SneakyDave

Well-known member
In template "search_bar_forum_only" try changing
Code:
 checked="checked"
to
Code:
checked="unchecked"
 

Chris D

XenForo developer
Staff member
Actually that may still check it (generally it just checks that the property attribute exists).

Just remove the checked attribute entirely.
 

viper357

Active member
Just remove the checked attribute entirely.
Thank you, can you tell me what the attribute is, I'm not sure what that means? This is the code...
Code:
<label title="{xen:phrase search_only_x, 'title={$forum.title}'}"><input type="checkbox" name="nodes[]" value="{$forum.node_id}"
    id="search_bar_nodes" class="Disabler AutoChecker" checked="checked"
    data-uncheck="#search_bar_thread" /> {xen:phrase search_this_forum_only}</label>
    <ul id="search_bar_nodes_Disabler">
        <li><label><input type="checkbox" name="type[post][group_discussion]" value="1"
            id="search_bar_group_discussion" class="AutoChecker"
            data-uncheck="#search_bar_thread" /> {xen:phrase display_results_as_threads}</label></li>
    </ul>
 
Top