Changeset 5222 for WAeUP_SRP/trunk
- Timestamp:
- 14 Jun 2010, 11:38:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py
r5044 r5222 113 113 else: 114 114 start_pos = 6 115 row['sort_param'] = payment.date 115 116 url = row['url'] = "%s/p%s" % (payments_path,oid[start_pos:]) 116 117 row['is_requeryable'] = "%s_%s" % (payment.category,payment.session_id) not in paid_fees and payment.type == 'online' or str(member) in ('admin',) … … 137 138 payments.append(row) 138 139 139 payments.sort(cmp=lambda x,y: cmp(x[' trans_ref'],y['trans_ref']))140 payments.sort(cmp=lambda x,y: cmp(x['sort_param'],y['sort_param'])) 140 141 info['payments'] = payments 141 142 return info
Note: See TracChangeset for help on using the changeset viewer.