- Timestamp:
- 23 Feb 2017, 16:07:54 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r14567 r14578 1314 1314 return 1315 1315 1316 @property 1317 def _postfix(self): 1318 """In customized packages we can add a container dependent string if 1319 applicants have been imported into several containers. 1320 """ 1321 return '' 1322 1316 1323 @action(_('Send login credentials to email address'), style='primary') 1317 1324 def register(self, **data): … … 1342 1349 lastname = data.get('lastname','') 1343 1350 cat = getUtility(ICatalog, name='applicants_catalog') 1351 searchstr = reg_number + self._postfix 1344 1352 results = list( 1345 cat.searchResults(reg_number=( reg_number, reg_number)))1353 cat.searchResults(reg_number=(searchstr, searchstr))) 1346 1354 if results: 1347 1355 applicant = results[0]
Note: See TracChangeset for help on using the changeset viewer.