Skip to content

Commit ce801e7

Browse files
committed
Fecha de Hasta en buscador del Calentario de Eventos configurable
1 parent 3a33859 commit ce801e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/frontend/modules/event/actions/actions.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function executeGetCalendar()
5959

6060
protected function getDefaultSearchParameters()
6161
{
62-
$to = CmsConfiguration::get('check_use_default_search_to_tomorrow',true)? date('d/m/Y', strtotime('tomorrow')):'';
62+
$to = CmsConfiguration::get('days_to_use_in_default_search',true)? date('d/m/Y', strtotime('+'.CmsConfiguration::get('days_to_use_in_default_search',true).' days')):'';
6363
return array_merge(array(
6464
'title' => null,
6565
'event_type' => null,

data/configuration_names.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ names:
7272
check_open_calendar_today: Mostrar calendario desplegado en el día actual
7373
max_events: Número de eventos a mostrar inicialmente en el Slotlet Calendario
7474
check_show_events_calendar_in_slotlet: Mostrar calendario en los slotlet de Eventos
75-
check_use_default_search_to_tomorrow: Utilizar la fecha de mañana por defecto para el Hasta en la busqueda de eventos
75+
days_to_use_in_default_search: Cantidad de días a partir de hoy que se va a utilizar como fecha por defecto para el Hasta en la búsqueda de eventos
7676

7777
Formularios:
7878
check_send_form_by_mail: Enviar formularios por mail

0 commit comments

Comments
 (0)