Hello,

Something is stange with the Next button in the Month View , from Calendar.
Only 7 months from January to December are given, with the Next button.

January - March - May - July - August - October - December

I don't understand why. But, with the Previous button, it's works fine.

Drupal core 7.41
Calendar 7.x-3.5
Chaos tool suite (ctools) 7.x-1.9
Date 7.x-2.9
Views 7.x-3.13

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vcouver created an issue. See original summary.

vcouver’s picture

washburn’s picture

Home Base Iowa
When on January in the Calendar and clicking on "Next" the display will jump to March. "Prev" will take it to February.
In researching the problem I discovered the bug to be in the Date module. A fix is listed on page https://www.drupal.org/node/2375235
The patch that works is on comment #35. It basically replaced "max_date" with "min_date" on line 281 of /date_views/includes/date_views_plugin_pager.inc
In my site, the actual line was 284

vcouver’s picture

Thank you washburn. Precise and concise.
Yes, the actual line is 284. It works.

I read there was a new version date 7.x-2.10-beta1. (I do not use it yet)
I have not yet installed but only decompress in a temporary directory.
I've compared my new modified date_views_plugin_pager.inc with the new file, from the beta package. They are identical. The correction is included also in line 284.

date 7.x-2.10-beta1
https://www.drupal.org/node/2646654

roball’s picture

Title: Error with Next button in Month View : only 7 months » Error with Next button in Month View: only 7 months
Category: Bug report » Support request
Status: Active » Fixed

I also ran into the same issue, and can confirm it was caused by the Date module 7.x-2.9. Updating it to 7.x-2.10-rc1 solved the issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.