position1 -> position and position2 -> position1 (to match people table)
authorW. Trevor King <wking@drexel.edu>
Sat, 26 Jun 2010 21:41:20 +0000 (17:41 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 26 Jun 2010 21:41:20 +0000 (17:41 -0400)
sitecore/prof/export_mysql.py

index 15af27ca73b4c9ff57d78476bd9f68ab32520604..3c1187745decc54364a803470023fb7ae487f4de 100644 (file)
@@ -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']: