Closed (duplicate)
Project:
Calendar
Version:
5.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2008 at 13:03 UTC
Updated:
6 Apr 2008 at 03:24 UTC
Hi there, just noticed that with the latest impressive patch there is one line missing in calendar day function:
I think there is an expression $selected = TRUE; missing right after the following lines in calendar_build_day function:
foreach ($items as $date => $day) {
if ($date == date_format($curday, 'Y-m-d')) {
Otherwise you are unable to see selected nodes in a year view.
Comments
Comment #1
cglusky commentedworks great for me.
also solves not being able to see event in a month view block.
thanks,
coby
Comment #2
jason.fisher commentedSweet salvation! This corrects my problem with the calendar block being empty, and a custom views_build_view being empty.
Comment #3
johnalbinA better issue title would have made this bug easier for others to find.
See the patch attached to: #233513: mini calendar doesn’t style days with nodes