Skip to content

Commit

Permalink
Add results count to dkan admin views (#2327)
Browse files Browse the repository at this point in the history
* Add results count to dkan admin views

* Restore blank line on line 2
  • Loading branch information
janette authored and dafeder committed Jan 31, 2018
1 parent a71017f commit d8d61b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/dkan/dkan_sitewide/dkan_sitewide.views_default.inc
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ function dkan_sitewide_views_default_views() {
);
$handler->display->display_options['style_options']['sticky'] = TRUE;
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Header: Global: Result summary */
$handler->display->display_options['header']['result']['id'] = 'result';
$handler->display->display_options['header']['result']['table'] = 'views';
$handler->display->display_options['header']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
Expand Down Expand Up @@ -434,6 +438,10 @@ function dkan_sitewide_views_default_views() {
);
$handler->display->display_options['style_options']['sticky'] = TRUE;
$handler->display->display_options['style_options']['empty_table'] = TRUE;
/* Header: Global: Result summary */
$handler->display->display_options['header']['result']['id'] = 'result';
$handler->display->display_options['header']['result']['table'] = 'views';
$handler->display->display_options['header']['result']['field'] = 'result';
/* No results behavior: Global: Unfiltered text */
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
Expand Down

0 comments on commit d8d61b5

Please sign in to comment.