# HG changeset patch # User Lennard de Rijk # Date 1233504042 0 # Node ID 839da7617496f67a2d0f2cb1d3ceb5ba4b8d98e6 # Parent b2034ab78e3a682d10bc5dac53a4050b00d9f62c Changed getApplicantRedirect to use the key_name instead of just a link_id. This is to make it work with OrgApplication. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r b2034ab78e3a -r 839da7617496 app/soc/views/helper/redirects.py --- a/app/soc/views/helper/redirects.py Sun Feb 01 13:33:48 2009 +0000 +++ b/app/soc/views/helper/redirects.py Sun Feb 01 16:00:42 2009 +0000 @@ -208,7 +208,7 @@ """ return '/%s/applicant/%s' % ( - params['url_name'], entity.link_id) + params['url_name'], entity.key().name()) def getCreateDocumentRedirect(entity, prefix):