summaryrefslogtreecommitdiff
path: root/sql/modules/Person.sql
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-20 03:59:13 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-20 03:59:13 +0000
commit5469e9016ccfbbbf58e1630a39461a686a106355 (patch)
treea1c806eff6344f72b76dc2ef860535c02d95d450 /sql/modules/Person.sql
parent4e500228f3066b14c987910f0afa53ed320b480e (diff)
Making account numbers clickable on customer/vendor screen, correcting contact editing population (needs a little more work there), and adding control code search
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2285 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql/modules/Person.sql')
-rw-r--r--sql/modules/Person.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/modules/Person.sql b/sql/modules/Person.sql
index 98b4dcb1..cd84fefc 100644
--- a/sql/modules/Person.sql
+++ b/sql/modules/Person.sql
@@ -106,7 +106,7 @@ $$
DECLARE out_row RECORD;
BEGIN
FOR out_row IN
- SELECT cc.class, c.description, c.contact
+ SELECT cc.class, cc.id, c.description, c.contact
FROM person_to_contact c
JOIN contact_class cc ON (c.contact_class_id = cc.id)
JOIN person p ON (c.person_id = p.id)