Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addressbook #7042

Closed
scottfishr opened this issue Jun 11, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@scottfishr
Copy link

commented Jun 11, 2019

Hello,

Under Address book - Edit Contact there is a Tab called Events.

It looks like this tab will only show events for 1 month. Is there a way to change this to show for the entire database or 1 year?

Here is a very small part of the log that I got after clicking on the Events tab:

                [2] => Calendar_Model_PeriodFilter Object
                    (
                        [_operators:protected] => Array
                            (
                                [0] => within
                            )

                        [_from:protected] => 2019-06-11 00:00:00
                        [_until:protected] => 2019-07-11 00:00:00
                        [_disabled:protected] => 
                        [_field:protected] => period
                        [_operator:protected] => within
                        [_value:protected] => 
                        [_id:protected] => 
                        [_label:protected] => 
                        [_options:protected] => Array
@pschuele

This comment has been minimized.

Copy link
Member

commented Jun 13, 2019

hi,
you can define the period filter via config. see this code snippet:

protected function _getDefaultPeriodFilter()

just add something like this to your config.inc.php:

'Calendar' => [
   'maxjsondefaultfilterperioduntil' => 12, // for 1 year
],

@pschuele pschuele closed this Jun 13, 2019

@pschuele pschuele added the Calendar label Jun 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.