Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2020 at 07:59 UTC
Updated:
2 Feb 2022 at 22:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
idebr commentedHi aiphes,
The option to display the revision author as a field in the admin/content overview was introduced in 8.8.2, see #2769289: Can't show 'revision author' on views of type 'Content' for more information.
Comment #3
aiphesI know and I use it but this don't display the right data if the content doesn't use revisions..perhaps a setting is needed ?
Comment #4
idebr commentedWithout revisions Drupal does not know who was the last editor. The first step is to add this data to the database, then you can display the value on the content overview.
Comment #5
aipheswhich data ? revision or last editor ?
for the second case, I would to explain to me how to do because I actually know doing the 1st case.
Comment #7
aiphesI reopen this issue actually not fixed. If someone can indicate a way to achieve as I done in D6 (with relationship) it would be great.
Thanks
Comment #8
crutch commentedI'm working on this now because the organization needs an "Administration Activity" page to include the ability to filter last editor, replicating what we have in d7 currently. This has proven to be difficult.
In short, if you want to do this you are required to use revisions and enable them per content type. But you must in some way also force the content editor to create a new revision every time they edit the node so that the latest user is recorded for that revision.
One way to do this is enable content moderation module (core). Another way to do this without enabling moderation is to just hide with CSS
.entity-content-form-revision-informationor only the checkbox.form-item--revisionso that the editor can still add a Revision log message. The checkbox is checked by default when you have enabled revisions for all content types that you want to monitor in your view.---
Tried and failed: This post does not work without the revision system. I didn't test this with the revision system active. https://drupal.stackexchange.com/questions/272109/how-do-i-display-the-l...
This post also suggests using embedded views which are not filterable/sortable. This by itself made this potential solution no good for us.
---
Once revisions are activated then you can create a simple view to get what you need. The attached View export should work with revisions enabled. Add filter of Content Type to exclude types.
Reference: https://www.drupal.org/docs/administering-a-drupal-site/node-revisions
Comment #9
crutch commentedI think #2 is a core functionality fix. This issue is different, we still have the revision system requirement. Maybe this should be set by the maintainers as, Closed (Works as designed) not Closed (Fixed)