Skip to content
Snippets Groups Projects
Commit b0c760b4 authored by Daniel Wehner's avatar Daniel Wehner Committed by Tim Plunkett
Browse files

Issue #1783006 by dawehner: Fixed some bugs in system.views.inc/file.views.inc.

parent e4006a35
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ function file_views_data() { ...@@ -113,7 +113,7 @@ function file_views_data() {
'help' => t('The extension of the file.'), 'help' => t('The extension of the file.'),
'real field' => 'filename', 'real field' => 'filename',
'field' => array( 'field' => array(
'id' => 'field_file_extension', 'id' => 'file_extension',
'click sortable' => FALSE, 'click sortable' => FALSE,
), ),
); );
...@@ -123,7 +123,7 @@ function file_views_data() { ...@@ -123,7 +123,7 @@ function file_views_data() {
'title' => t('Size'), 'title' => t('Size'),
'help' => t('The size of the file.'), 'help' => t('The size of the file.'),
'field' => array( 'field' => array(
'id' => 'field_file_size', 'id' => 'file_size',
'click sortable' => TRUE, 'click sortable' => TRUE,
), ),
'sort' => array( 'sort' => array(
...@@ -139,14 +139,14 @@ function file_views_data() { ...@@ -139,14 +139,14 @@ function file_views_data() {
'title' => t('Status'), 'title' => t('Status'),
'help' => t('The status of the file.'), 'help' => t('The status of the file.'),
'field' => array( 'field' => array(
'id' => 'field_file_status', 'id' => 'file_status',
'click sortable' => TRUE, 'click sortable' => TRUE,
), ),
'sort' => array( 'sort' => array(
'id' => 'standard', 'id' => 'standard',
), ),
'filter' => array( 'filter' => array(
'id' => 'filter_file_status', 'id' => 'file_status',
), ),
); );
......
...@@ -76,7 +76,7 @@ function system_views_data() { ...@@ -76,7 +76,7 @@ function system_views_data() {
'name field' => 'type', // the field to display in the summary. 'name field' => 'type', // the field to display in the summary.
), ),
'filter' => array( 'filter' => array(
'id' => 'filter_system_type', 'id' => 'system_type',
), ),
'sort' => array( 'sort' => array(
'id' => 'standard', 'id' => 'standard',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment