It appears that when using contextual filters in views the date module doesn't allow less granularity than 1 hour. I have no idea why but since we need this we uncommented the line and it doesn't appear to have a huge performance impact?
So i'm making an issue and assigning a patch to remove this. Maybe someone could shine a little light on why this was done and we can move forward.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | date-views_granularity_issue-2026811-7-D7.patch | 3.1 KB | kala4ek |
| #5 | date-views_granularity_issue-2026811-5-D7.patch | 3.15 KB | kala4ek |
Comments
Comment #1
Anonymous (not verified) commentedAand the patch file.
Comment #2
jesss commentedThis patch works for me.
Please add this functionality back in. Or at least explain why it was removed and suggest an alternative.
Comment #4
eugene.ilyin commentedComment #5
kala4ekRestored "minute" and "second" granularity settings for contextual filter.
Added new settings which allow determinate granularity by argument value.
Patch created by kala4ek and Evgeny_Yudkin.
Comment #6
podarokAs for me this patch/change looks like needs tests. Let's get have it.
Comment #7
kala4ekReally restored "minute" and "second" granularity settings.
Comment #8
podarokThanks, commited.