-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Service duration values shorter than 5 minutes should be acceptable via the services page. #1110
Comments
Hello @h-e-l-l-o-w-o-r-l-d, Yes, right now and due to performance reasons the minimum service duration is 5 minutes. You can easily change that by changing the value of the corresponding variable in the constants.php file: Hope that helps!
|
I'm sorry but like written in the description the value in constants.php is already set to 4 but value 4 is not accepted when creating a new service in the backend. |
That's because of this line: Change it to 4 or less and it'll work. I will need to make this magic number also originate from the constant, so I'm marking this as a bug ticket.
|
Related to #1068 Same problem... Created a patch for now to solve this. Thanks! |
…ia the services page (#1110).
Hi,
while #1068 is solved, I cannot set service durations < 5 in backend, see screenshot. There is a error message on save with no text inside.
Setting in /application/config/constants.php -> define('EVENT_MINIMUM_DURATION', 4);
The text was updated successfully, but these errors were encountered: