Closed (fixed)
Project:
Flag
Version:
8.x-4.x-dev
Component:
Views integration
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 May 2016 at 09:07 UTC
Updated:
14 Oct 2016 at 04:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
chx commentedComment #3
dawehnerOne could leverage a numeric argument handler, but nevermind
This one is for entity fields, I doubt this is one here
Comment #4
chx commentedComment #5
dawehnerWorks for me
Comment #6
chx commentedI tentatively say this might not need testing -- we would be testing Views, pretty much. But if the maintainers want, I can look into creating a test or two.
Comment #7
socketwench commentedIf you could modify flag_follower's views to leverage counts, and use that for tests it'd be great.
Comment #8
socketwench commentedAugmented the follower view, modified test to include count cases.
Comment #9
socketwench commentedI was thinking about this last night, and it occurred to me that we only are showing the flag count, not the other kinds of counts provided by the FlagCountManager. These aren't database fields, so maybe that's out of scope for a view.
Comment #10
chx commentedPerhaps in another issue we could a) use hook_entity_extra_field_info to expose them to entity API b) provide Views field handlers for them.
Comment #11
socketwench commentedI was thinking view field handlers.
Comment #12
frankcarey commentedWorking well for me. Counts work on items that haven't been flagged as well (shows zero).
Comment #13
joachim commentedAre these all whitespace fixes or whitespace damage?
Comment #14
amit.drupal commentedcomment #8 Working well for me.
Comment #15
socketwench commentedThere are actual changes in the comments, 'B' instead of 'C'.
Comment #17
socketwench commentedCommitting, as it's been reviewed as per #14. Thanks everyone!
Comment #19
amit.drupal commented