From bc98d1d78a8c4723e02ca7f1732a429043dd234d Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 26 Jun 2010 17:41:20 -0400 Subject: [PATCH] position1 -> position and position2 -> position1 (to match people table) --- sitecore/prof/export_mysql.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sitecore/prof/export_mysql.py b/sitecore/prof/export_mysql.py index 15af27c..3c11877 100644 --- a/sitecore/prof/export_mysql.py +++ b/sitecore/prof/export_mysql.py @@ -161,9 +161,9 @@ Where the relevant categories are first_middle=prof['firstname'], last=prof['lastname'], ) - p.title = prof['position1'] - if len(prof['position2']) > 0: - p.title += ', %s' % prof['position2'] + p.title = prof['position'] + if len(prof['position1']) > 0: + p.title += ', %s' % prof['position1'] p.graduations = [] print prof['degrees'] for degree in prof['degrees']: -- 2.26.2