From df37e8a34e8f8f4ed5873da1fed1712b402e9b99 Mon Sep 17 00:00:00 2001 From: Horilla Date: Wed, 27 Aug 2025 16:17:40 +0530 Subject: [PATCH] [FIX] BASE: Fixed rotating work type detail view action buttons --- base/cbv/rotating_work_type.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base/cbv/rotating_work_type.py b/base/cbv/rotating_work_type.py index 20c2f4981..3948d2d26 100644 --- a/base/cbv/rotating_work_type.py +++ b/base/cbv/rotating_work_type.py @@ -253,6 +253,12 @@ class RotatingWorkDetailView(HorillaDetailedView): ] action_method = "get_detail_view_actions" + def get_context_data(self, **kwargs): + context = super().get_context_data(**kwargs) + instance = context["object"] + instance.ordered_ids = context["instance_ids"] + return context + @method_decorator( manager_can_enter("base.view_rotatingworktypeassign"), name="dispatch"