changeset 553 | c0cc20b4afc9 |
parent 539 | e30462354e26 |
child 560 | a32be584ee04 |
--- a/app/soc/logic/lists.py Sat Nov 22 11:19:20 2008 +0000 +++ b/app/soc/logic/lists.py Sat Nov 22 13:59:34 2008 +0000 @@ -132,3 +132,12 @@ """ return self.row_data + + def redirect(self): + """Returns the redirect for the current row item in the current list. + """ + + logic = self.get('logic') + action = self.get('action') + suffix = logic.getKeySuffix(self.row_data) + return "%s/%s" % (action, suffix)