Foswiki on GitHub is open for business! Next release meeting: Monday Nov. 17, 1300Z

Item8987: TOPICLIST does not work on webs with NOSEARCHALL set

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine    
%TOPICLIST{"..." web="XXX"}% does nothing on webs where NOSEARCHALL is set

This is not the correct behavior, as this is not a search-in-all-webs operation, but one targetting a single web. This bug was already there in TWiki 4.0.

The fix is quite simple, suppressing the 3 lines at lib/ in function TOPICLIST (line 3930)
    return ''
      if $web ne $this->{webName}
          && $this->{prefs}->getWebPreferencesValue( 'NOSEARCHALL', $web );

I will commit the fix if no objection is raised

-- ColasNahaboo - 06 May 2010

That would be too sweeping a change; there may be apps depending on this legacy behaviour. So instead, if a web is explicitly named, don't check NOSEARCHALL.

-- CrawfordCurrie - 13 Jun 2010


ItemTemplate edit

Summary TOPICLIST does not work on webs with NOSEARCHALL set
ReportedBy ColasNahaboo
Codebase trunk
SVN Range
AppliesTo Engine
Priority Normal
CurrentState Closed
Checkins distro:94ed50f53230
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 Oct 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License