Skip to content

Commit

Permalink
Fecha de Hasta en buscador del Calentario de Eventos configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
matiaspagano committed Jun 17, 2014
1 parent 3a33859 commit ce801e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/modules/event/actions/actions.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function executeGetCalendar()

protected function getDefaultSearchParameters()
{
$to = CmsConfiguration::get('check_use_default_search_to_tomorrow',true)? date('d/m/Y', strtotime('tomorrow')):'';
$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')):'';
return array_merge(array(
'title' => null,
'event_type' => null,
Expand Down
2 changes: 1 addition & 1 deletion data/configuration_names.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ names:
check_open_calendar_today: Mostrar calendario desplegado en el día actual
max_events: Número de eventos a mostrar inicialmente en el Slotlet Calendario
check_show_events_calendar_in_slotlet: Mostrar calendario en los slotlet de Eventos
check_use_default_search_to_tomorrow: Utilizar la fecha de mañana por defecto para el Hasta en la busqueda de eventos
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

Formularios:
check_send_form_by_mail: Enviar formularios por mail
Expand Down

0 comments on commit ce801e7

Please sign in to comment.