Display "Add Harvest" link even if the View is empty.

This commit is contained in:
Michael Stenta 2014-07-17 10:37:05 -04:00
parent d465977c12
commit 4c44b001e7
1 changed files with 1 additions and 0 deletions

View File

@ -748,6 +748,7 @@ function farm_log_crops_views_default_views() {
$handler->display->display_options['footer']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['footer']['area_text_custom']['table'] = 'views';
$handler->display->display_options['footer']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['footer']['area_text_custom']['empty'] = TRUE;
$handler->display->display_options['footer']['area_text_custom']['content'] = '<a href="/log/add/farm_harvest?destination=admin/farm/logs/harvests">+ Log a harvest</a>';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';