Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have created a custom Content-Type with a date field.
When i clone the standart calendar view and try to select my date-field there are the strange options
Content - value
Content - value2
(I expected there a "Datum - value)
After saving the view the calendar is empty.
Comments
Comment #1
a.siebel CreditAttribution: a.siebel commentedThe SQL Output generated by the view:
SELECT node.nid AS nid,
node.title AS node_title,
node.changed AS node_changed,
node.type AS node_type
FROM node node
LEFT JOIN content_field_datum node_data_field_datum ON node.vid = node_data_field_datum.vid
WHERE (node.status <> 0)
AND ((DATE_FORMAT(ADDTIME(STR_TO_DATE(node_data_field_datum.field_datum_value, '%Y-%m-%%dT%T'), SEC_TO_TIME(3600)), '%Y-%m') <= '2009-03' AND DATE_FORMAT(ADDTIME(STR_TO_DATE(node_data_field_datum.field_datum_value2, '%Y-%m-%%dT%T'), SEC_TO_TIME(3600)), '%Y-%m') >= '2009-03'))
ORDER BY node_changed ASC
Comment #2
arlinsandbulte CreditAttribution: arlinsandbulte commentedThis issue has been fixed in the latest -dev.
See this issue for more details: #376224: 'From' and 'To' field titles get lost when provided to Views