Changeset 3665 for WAeUP_SRP


Ignore:
Timestamp:
8 Sep 2008, 09:46:47 (16 years ago)
Author:
Henrik Bettermann
Message:

fix reindexing of students_catalog (fetch correct review_state)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTables.py

    r3603 r3665  
    10501050            if reindex_special and 'review_state' in reindex_special:
    10511051                modified = True
    1052                 data['review_state'] = student_brain.review_state
     1052                data['review_state'] = student_object.portal_workflow.getInfoFor(student_object,'review_state',None)
    10531053            sub_objects = False
    10541054            for pt in reindextypes.keys():
     
    11191119            data = {}
    11201120            sid = data['id'] = student_brain.getId
    1121             data['review_state'] = student_brain.review_state
     1121            #data['review_state'] = student_brain.review_state
     1122            data['review_state'] = student_object.portal_workflow.getInfoFor(student_object,'review_state',None)
    11221123            sub_objects = False
    11231124            for pt in self.affected_types.keys():
Note: See TracChangeset for help on using the changeset viewer.