Feature #25758
Display of future events
| Status: | Closed | Start date: | 2011-04-05 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Mathias Bolt Lesniak | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 2.4.0 | |||
| Votes: | 0 |
Description
It was nice if LATEST_EVENT_FUTURE with enabled displayEventUntilEnd switch would show a list including events that have started but have not ended + events which start in the future.
Currently only future events are shown. The displayEventUntilEnd switch only changes from the field tt_news.tx_mblnewsevent_from to tt_news.tx_mblnewsevent_to which is not the correct behaviour I think.
The query should be more like
AND ((tt_news.tx_mblnewsevent_to + tt_news.tx_mblnewsevent_totime) >= ' . $execTime .' AND (tt_news.tx_mblnewsevent_from + tt_news.tx_mblnewsevent_fromtime) <= ' . $execTime .') OR (tt_news.tx_mblnewsevent_from + tt_news.tx_mblnewsevent_fromtime) >= ' . $execTime;
iinstad of
AND (tt_news.tx_mblnewsevent_to + tt_news.tx_mblnewsevent_totime) >= ' . $execTime;
in line 334
History
Updated by Mathias Bolt Lesniak almost 2 years ago
- Status changed from New to Closed
Implemented in revision 49048.