If you select the "All Public Web" checkbox, it is not checked when results are displayed. The conditional in the checkbox looked for "web" URLPARAM to be "all" but there was no value set for the checkbox so the web URLPARAM was returned as "on". At first I thought the fix would be to add
value="all"
to the checkbox definition. However, I found that it worked just as well to have the conditional look for the web URLPARAM to be "on". Apparently, in the search having web=on is equivalent to web=all.
In any case, there's the corrected element definition that works:
<input type="checkbox" class="twikiCheckbox" id="web" name="web" %IF{" '%URLPARAM{web}%' = 'on'" then="checked=\"checked\"" else=""}% />
If no one has any further feedback, I'll commit this change tomorrow.
--
TWiki:Main/LynnwoodBrown - 08 May 2008
Following the convention used in the other "Search where" form elements, I added the missing value declaration (value="all") rather than changing the value of URLPARAM that's checked as mentioned above.
--
TWiki:Main/LynnwoodBrown - 02 Jun 2008
This was not checked into the
TWikiRelease04x02 branch but it is still marked as fixed in 4.2.1????
Reopening
--
KennethLavrsen - 02 Jun 2008
Fixed
--
TWiki:Main.KennethLavrsen - 02 Jun 2008
Thanks for fixing that, Kenneth. I need to review the management of the branches.
--
TWiki:Main.LynnwoodBrown - 04 Jun 2008