projects
/
project/gmap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f63955c
)
#398272 by jmpoure: Fix PostgreSQL support in gmap_location.
author
Brandon Bergren
Wed, 11 Mar 2009 16:57:58 +0000 (16:57 +0000)
committer
Brandon Bergren
Wed, 11 Mar 2009 16:57:58 +0000 (16:57 +0000)
gmap_location.module
patch
|
blob
|
blame
|
history
diff --git
a/gmap_location.module
b/gmap_location.module
index
3f82917
..
406f552
100644
(file)
--- a/
gmap_location.module
+++ b/
gmap_location.module
@@
-130,7
+130,9
@@
function gmap_location_user_page() {
AND
(l.latitude != 0 OR l.longitude != 0)
GROUP BY
- i.uid, i.lid");
+ i.uid, i.lid, u.name, l.latitude, l.longitude");
+ // The u.name, l.latitude, and l.longitude in the GROUP BY are needed for
+ // PostgreSQL.
while ($row = db_fetch_object($result)) {
// Determine marker type to show.