Index: trunk/admin/install/upgrades/inportal_upgrade_v1.2.0.sql
===================================================================
diff -u -r5111 -r5289
--- trunk/admin/install/upgrades/inportal_upgrade_v1.2.0.sql	(.../inportal_upgrade_v1.2.0.sql)	(revision 5111)
+++ trunk/admin/install/upgrades/inportal_upgrade_v1.2.0.sql	(.../inportal_upgrade_v1.2.0.sql)	(revision 5289)
@@ -14,7 +14,7 @@
 
 ALTER TABLE PhraseCache ADD ConfigVariables text;
 
-UPDATE ConfigurationAdmin SET ValueList = '0=lu_none,<SQL+>SELECT GroupId AS OptionName, Name AS OptionValue FROM <PREFIX>PortalGroup WHERE Enabled = 1 AND Personal = 0</SQL>' WHERE VariableName IN ('User_NewGroup','User_GuestGroup','User_SubscriberGroup','User_LoggedInGroup');
+UPDATE ConfigurationAdmin SET ValueList = '0=lu_none,<SQL+>SELECT GroupId AS OptionValue, Name AS OptionName FROM <PREFIX>PortalGroup WHERE Enabled = 1 AND Personal = 0</SQL>' WHERE VariableName IN ('User_NewGroup','User_GuestGroup','User_SubscriberGroup','User_LoggedInGroup');
 UPDATE ConfigurationAdmin SET heading = 'la_Text_General' WHERE VariableName = 'Category_Sortorder2';
 
 INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-portal:root.view', 11, 1, 1, 0);
@@ -103,4 +103,6 @@
 INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-portal:server_info.view', 11, 1, 1, 0);
 INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-portal:help.view', 11, 1, 1, 0);
 
+UPDATE ConfigurationAdmin SET ValueList = 'Name=la_Category_Name,Description=la_Category_Description,CreatedOn=la_Category_Date,EditorsPick=la_Category_Pick,<SQL>SELECT Prompt AS OptionName, CONCAT("cust_", FieldName) AS OptionValue FROM <PREFIX>CustomField WHERE (Type = 1) AND (IsSystem = 0)</SQL>' WHERE VariableName IN ('Category_Sortfield', 'Category_Sortfield2');
+
 UPDATE Modules SET Version = '1.2.0' WHERE Name = 'In-Portal';
\ No newline at end of file
