Opened 2 years ago

#635 new defect

Search Widget Does Not Toggle Layer and Group On

Reported by: gluckett Owned by: madair
Priority: P2 Milestone: Future
Component: Core Version: 2.0
Severity: Minor Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

The Search widget (search.php) does not turn on layer and parent groups when selecting feature.

Correct code: (line 84)

if($layer->GetName?() == $layerName) {

$layer->SetVisible?(true); $layer->ForceRefresh?(); $currentGroup = $layer->GetGroup?(); while ($currentGroup) {

$currentGroup->SetVisible?(true); $currentGroup->SetDisplayInLegend?(1); $currentGroup->SetExpandInLegend?(1); $currentGroup = $currentGroup->GetGroup?();

} $map->Save();

Change History (0)

Note: See TracTickets for help on using tickets.