craftcms / craftcms/cms

[5.x]: Issue with “Last Edited By” column in Multi-Country Setup

未关闭
#17,841 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
PHP
星标
3.6k
派生
705
平均合并
1 天 5 小时
30 天内合并 PR
134

描述

What happened?
Description

We’re experiencing an issue with how the “Last Edited By” column display in our multi-country Craft CMS setup.

  • Our site uses a template duplicated across multiple countries.
  • In the entry list view, the “Last Edited By” column shows the last editor globally, regardless of which country’s entry is being managed.
  • This is causing confusion among our agents, since edits made in one country appear under other countries’ entries.
  • As a temporary measure, we have disabled the “Last Edited By” columns, but ideally, we would like to display the correct, context-specific information instead of removing these column.
Image

Questions:

  • Is this expected behavior in Craft CMS when working with duplicated entries across multiple countries?
  • Is there a way to filter or scope “Last Edited By” so they reflect only the relevant editors within that country/section?
  • If not, is there any workaround or upcoming fix planned to address this?

We’d appreciate your guidance on how best to resolve this, as our team finds this information useful but currently misleading.

Steps to reproduce
Expected behavior
Actual behavior
Craft CMS version

Craft Pro 5.8.17

PHP version

8.2.27

Operating system and version

Linux 5.4.0-208-generic

Database type and version

MySQL 31

Image driver and version

GD 8.2.27

Installed plugins and versions

No response

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

该报告涉及多国家配置中条目列表的“Last Edited By”列;首先在 PHP 8.2 和 MySQL 上的 Craft Pro 5.8.17 中使用重复的模板复现该问题。验证显示的编辑者是否限定为当前国家,然后记录预期行为以及可复现的修复方案或已确认的 workaround。

由索引模型根据 Issue 内容生成。

评估

技术栈
mysql, php
领域
backend, localization
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。