Changeset 13010 for main/waeup.kofa/trunk
- Timestamp:
- 28 May 2015, 12:58:37 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r13004 r13010 576 576 def _set_app_cats(self): 577 577 app_cats = getUtility(IKofaUtils).APP_CATS_DICT 578 self.app_cats = app_cats.items()578 self.app_cats = sorted(app_cats.items()) 579 579 return 580 580 581 581 def _set_app_types(self): 582 582 app_types = getUtility(IApplicantsUtils).APP_TYPES_DICT 583 self.app_types = [(x[0], x[1][0]) for x in app_types.items()]583 self.app_types = sorted([(x[0], x[1][0]) for x in app_types.items()]) 584 584 return 585 585 586 586 def _set_payment_cats(self): 587 587 payment_cats = getUtility(IKofaUtils).PAYMENT_CATEGORIES 588 self.payment_cats = payment_cats.items()588 self.payment_cats = sorted(payment_cats.items()) 589 589 return 590 590
Note: See TracChangeset for help on using the changeset viewer.