Multiple locations in results don't always bring up info box in map

mgenovese - June 12, 2008 - 15:35
Project:gProximity
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I have two nodes (A, B), each with two locations (1, 2). That produces four location markers in my map view, and four links in my results window. The links are listed in this order (A1, B1, B2, A2) [see other bug re: sorting]. Now, here's what happens if I click on each of these links in the results area:

A1: Info box in map shows text for A1 (great!)
B1: Info box in map shows text for A2 (bad)
B2: Opens up node B (expecting info box in the map)
A2: Opens up node A (expecting info box in the map)

So (1) the wrong info box opened up, and (2) nodes were opening instead info boxes. I assigned this bug as critical because of #1.

#1

greenSkin - June 12, 2008 - 16:40

This is an issue if you have the 'edit' link showing. I need to rework how this is done so that the 'edit' link does not interfere. For now try removing the 'edit' link.

#2

mgenovese - June 12, 2008 - 16:57

You mean the "edit" link for the entire view?

#3

greenSkin - June 12, 2008 - 17:04

I mean the edit link next to the node title in the review pane. If this is removed from the info window field or a user does not have permission to edit the node, than the links will open the info windows correctly. This does need to be fixed though for when the edit link is shown, but have no worries that an end user won't get the desired effect as long as they don't see the edit link.

#4

mgenovese - June 12, 2008 - 19:12

Yes, I confirmed that removing the edit tab (e.g. logging out) does fix that one problem.

HOWEVER, the other problem relating to results links not opening up the info windows in the map still remains.

 
 

Drupal is a registered trademark of Dries Buytaert.