summaryrefslogtreecommitdiff
path: root/Contact.php
diff options
context:
space:
mode:
authorLester Caine <lsces@lsces.co.uk>2010-12-08 13:00:24 +0000
committerLester Caine <lsces@lsces.co.uk>2010-12-08 13:00:24 +0000
commite592c415e311beea23920c101e9d35935b78f882 (patch)
tree16e849b7fe4760d66de417033db3d308b7054b5d /Contact.php
parent9dea71d31454b31da1da41dda384338fd96dfca2 (diff)
downloadcontact-e592c415e311beea23920c101e9d35935b78f882.tar.gz
contact-e592c415e311beea23920c101e9d35935b78f882.tar.bz2
contact-e592c415e311beea23920c101e9d35935b78f882.zip
Add basic xref crosslink ... this should have been included originally
Diffstat (limited to 'Contact.php')
-rw-r--r--Contact.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Contact.php b/Contact.php
index 0ff998d..c87ac8e 100644
--- a/Contact.php
+++ b/Contact.php
@@ -575,7 +575,7 @@ class Contact extends LibertyContent {
WHEN x.`xorder` = 0 THEN s.`cross_ref_title`
ELSE s.`cross_ref_title` || '-' || x.`xorder` END
AS source_title,
- x.`xkey` AS cross_reference, x.`xkey`, x.`xkey_ext`, x.`data`,
+ x.`xref`, x.`xkey`, x.`xkey_ext`, x.`data`,
x.`start_date`, x.`end_date`
FROM `".BIT_DB_PREFIX."contact_xref` x
JOIN `".BIT_DB_PREFIX."contact_xref_source` s ON s.`source` = x.`source`