Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#1895160: Convert admin/content to a View, keep a non-views fallback with no bulk operations converted admin/content
to a view, but it failed to include the "new" and "update" indicators. I grepped that page, and nobody noticed this. However, it is a critical feature for content administrators to keep track of what they've already read.
Views has a "Content: has new content" field. It should be used.
Comment | File | Size | Author |
---|---|---|---|
#7 | vdc-2043403-7.patch | 4.64 KB | bdone |
#7 | interdiff-7-3.txt | 383 bytes | bdone |
#3 | vdc-2043403-3.patch | 4.77 KB | bdone |
#3 | Screen Shot 2013-07-19 at 8.47.57 AM.png | 97.38 KB | bdone |
Comments
Comment #1
Wim LeersComment #2
dawehnerAdding novice task.
Comment #3
bdone CreditAttribution: bdone commentedhere's a patch adding the timestamp field (label: "Has new content") to all displays in views.view.content. it displays timestamp in the Title column, similar to the pre-views version in #1895160: Convert admin/content to a View, keep a non-views fallback with no bulk operations.
Comment #4
Wim LeersLovely! Thanks!
The patch contains a UUID though and seems to include unrelated changes?
Comment #5
bdone CreditAttribution: bdone commented@Wim Leers, yea i wasn't sure about that. I updated the view, exported config, and i guess that process added uuid.
I found a lot of instances of uuids in core/modules and wondered about that. what's the best thing here, simply remove that line?
i'm also wondering the right workflow to update config like this and avoid this kinda thing.
Comment #6
Wim LeersHm… AFAIK all existing UUIDs in core config .yml files shouldn't be there. But yes, it's super easy to fix: just remove that hunk of the patch :)
I don't think it's posible to avoid this; the reason it can't be here is because this is Drupal core, not a specific site. For a specific site, you *want* that UUID to be there, for downloadable (Drupal contrib) modules (and Drupal core), you *don't* want them.
Changes like these are what I meant by "unrelated changes". I think a Views person should review this aspect, I can't comment on that with authority!
Comment #7
bdone CreditAttribution: bdone commentedthanks for the explanation @Wim Leers. i've since removed uuid. will await some feedback from a vdc maintainer.
Comment #8
tim.plunkettNope, the patch in #3 is correct. We want all of that stuff!
The patch to commit is #3 not #7.
Comment #9
alexpottYep we want all the stuff :)
Committed 03649a3 and pushed to 8.x. Thanks!
Comment #11
xjm