From 5a6da8a687f7bcb2df3e06a2d45748c8e180ad10 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 19 Oct 2023 10:17:35 +0800 Subject: [PATCH] + Add table sort to productplan::browse. --- module/productplan/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/productplan/control.php b/module/productplan/control.php index 8e89fe294d..5a261ea908 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -286,6 +286,7 @@ class productplan extends control /* Append id for second sort. */ $sort = common::appendOrder($orderBy); + if(strpos($sort, 'branchName_') !== false) $sort = str_replace('branchName_', 'branch_', $sort); $this->session->set('productPlanList', $this->app->getURI(true), 'product'); $viewType = $this->cookie->viewType ? $this->cookie->viewType : 'list';