mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Misc Views export updates.
This commit is contained in:
parent
5aa8a8858e
commit
5d2dd3c17e
4 changed files with 24 additions and 14 deletions
|
@ -823,6 +823,9 @@ function farm_group_views_default_views() {
|
|||
t('last »'),
|
||||
t('No group members found.'),
|
||||
t('Group membership'),
|
||||
t('Farm asset'),
|
||||
t('- Choose an operation -'),
|
||||
t('Delete'),
|
||||
t('Farm asset ID'),
|
||||
t('.'),
|
||||
t('Name'),
|
||||
|
|
|
@ -262,9 +262,9 @@ function farm_inventory_views_default_views() {
|
|||
'done' => 'done',
|
||||
'id' => 'id',
|
||||
'timestamp' => 'timestamp',
|
||||
'field_farm_asset' => 'field_farm_asset',
|
||||
'field_farm_move_to' => 'field_farm_move_to',
|
||||
'name' => 'name',
|
||||
'field_farm_inventory_asset' => 'field_farm_inventory_asset',
|
||||
'field_farm_inventory_value' => 'field_farm_inventory_value',
|
||||
'type' => 'type',
|
||||
'field_farm_log_category' => 'field_farm_log_category',
|
||||
'field_farm_log_owner' => 'field_farm_log_owner',
|
||||
|
@ -297,16 +297,6 @@ function farm_inventory_views_default_views() {
|
|||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_farm_asset' => array(
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_farm_move_to' => array(
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'name' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
|
@ -314,6 +304,20 @@ function farm_inventory_views_default_views() {
|
|||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_farm_inventory_asset' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_farm_inventory_value' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'type' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
|
|
|
@ -668,8 +668,7 @@ function farm_livestock_views_default_views() {
|
|||
t('ID Tag'),
|
||||
t('All'),
|
||||
t('Animals in %1'),
|
||||
t('Animals in group %2'),
|
||||
t('Animals of type %3'),
|
||||
t('Animals of type %2'),
|
||||
t('If there are multiple ID tags on an animal, this filter will only look at the first one.'),
|
||||
t('Type'),
|
||||
t('Page'),
|
||||
|
|
|
@ -389,6 +389,7 @@ function farm_log_sale_views_default_views() {
|
|||
$handler->display->display_options['filters']['field_farm_log_category_tid']['id'] = 'field_farm_log_category_tid';
|
||||
$handler->display->display_options['filters']['field_farm_log_category_tid']['table'] = 'field_data_field_farm_log_category';
|
||||
$handler->display->display_options['filters']['field_farm_log_category_tid']['field'] = 'field_farm_log_category_tid';
|
||||
$handler->display->display_options['filters']['field_farm_log_category_tid']['group'] = 1;
|
||||
$handler->display->display_options['filters']['field_farm_log_category_tid']['exposed'] = TRUE;
|
||||
$handler->display->display_options['filters']['field_farm_log_category_tid']['expose']['operator_id'] = 'field_farm_log_category_tid_op';
|
||||
$handler->display->display_options['filters']['field_farm_log_category_tid']['expose']['label'] = 'Categories';
|
||||
|
@ -403,6 +404,7 @@ function farm_log_sale_views_default_views() {
|
|||
$handler->display->display_options['filters']['date_filter']['table'] = 'log';
|
||||
$handler->display->display_options['filters']['date_filter']['field'] = 'date_filter';
|
||||
$handler->display->display_options['filters']['date_filter']['operator'] = '>=';
|
||||
$handler->display->display_options['filters']['date_filter']['group'] = 1;
|
||||
$handler->display->display_options['filters']['date_filter']['exposed'] = TRUE;
|
||||
$handler->display->display_options['filters']['date_filter']['expose']['operator_id'] = 'date_filter_op';
|
||||
$handler->display->display_options['filters']['date_filter']['expose']['label'] = 'Start date';
|
||||
|
@ -417,6 +419,7 @@ function farm_log_sale_views_default_views() {
|
|||
$handler->display->display_options['filters']['date_filter_1']['table'] = 'log';
|
||||
$handler->display->display_options['filters']['date_filter_1']['field'] = 'date_filter';
|
||||
$handler->display->display_options['filters']['date_filter_1']['operator'] = '<=';
|
||||
$handler->display->display_options['filters']['date_filter_1']['group'] = 1;
|
||||
$handler->display->display_options['filters']['date_filter_1']['exposed'] = TRUE;
|
||||
$handler->display->display_options['filters']['date_filter_1']['expose']['operator_id'] = 'date_filter_1_op';
|
||||
$handler->display->display_options['filters']['date_filter_1']['expose']['label'] = 'End date';
|
||||
|
@ -431,6 +434,7 @@ function farm_log_sale_views_default_views() {
|
|||
$handler->display->display_options['filters']['done']['table'] = 'log';
|
||||
$handler->display->display_options['filters']['done']['field'] = 'done';
|
||||
$handler->display->display_options['filters']['done']['value'] = 'All';
|
||||
$handler->display->display_options['filters']['done']['group'] = 1;
|
||||
$handler->display->display_options['filters']['done']['exposed'] = TRUE;
|
||||
$handler->display->display_options['filters']['done']['expose']['operator_id'] = '';
|
||||
$handler->display->display_options['filters']['done']['expose']['label'] = 'Done';
|
||||
|
|
Loading…
Reference in a new issue