From 247bbb2beefe24c651960e283a2fedee14c38b61 Mon Sep 17 00:00:00 2001 From: Martin Stancsics Date: Tue, 14 May 2024 16:57:22 +0200 Subject: [PATCH] Use more sensible IDs when exporting action data --- live_bargaining/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/live_bargaining/__init__.py b/live_bargaining/__init__.py index 106bcc0..1842135 100644 --- a/live_bargaining/__init__.py +++ b/live_bargaining/__init__.py @@ -478,9 +478,9 @@ def custom_export(players): session.code, participant.code, player.round_number, - player.id, + player.id_in_subsession, player.id_in_group, - player.group.id, + player.group.id_in_subsession, proposal.offer_id, proposal.member_1, proposal.member_2, @@ -503,9 +503,9 @@ def custom_export(players): session.code, participant.code, player.round_number, - player.id, + player.id_in_subsession, player.id_in_group, - player.group.id, + player.group.id_in_subsession, "", "", "", @@ -528,9 +528,9 @@ def custom_export(players): session.code, participant.code, player.round_number, - player.id, + player.id_in_subsession, player.id_in_group, - player.group.id, + player.group.id_in_subsession, "", "", "",