更改“分配给”的内容
创建新票证时,我激活restrict_owner 将文本字段更改为下拉列表。有没有办法将该下拉列表的内容从用户 ID 更改为用户名?
原因是,我们用于登录的所有用户 ID 都有些神秘(例如 xyz01、xyz02 等)。如果该列表可以显示关联的用户名,您可以在首选项中输入该用户名,那就完美了。
问候, 萨沙
I activated restrict_owner to change the textfield to a dropdown when creating a new ticket. Is there a way to change the contents of that dropdown from user id's to user names?
The reason is, that all user id's that we use to log in are somewhat cryptic (something like xyz01, xyz02 and so on). If that list could show the associated user names, that you can enter in the prefs, that would be perfect.
Regards,
Sascha
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了解决这个问题,我安装了自动完成用户插件。这将允许您更轻松地通过帐户名、真实姓名或电子邮件地址选择用户,而且它似乎比使用
restrict_owner
具有更好的性能。我不确定该插件是否涵盖与
restrict_owner
选项相同的所有表单字段。如果遗漏了某个字段,修改代码并添加另一个字段应该不会太困难。To get around that, I installed the Auto-Complete Users Plugin. This will allow you to more easily select a user by account name, real name, or email address, plus it seems to have better performance than using
restrict_owner
.I'm not sure if the plugin covers all of the same form fields as the
restrict_owner
option. If there's one that it misses, it shouldn't be too difficult to modify the code and add another field.