Permalink
Browse files

Fix listed boolean and some titles.

  • Loading branch information...
1 parent c4fc851 commit 22c34a4c8a01ecc43c6e05c471165b22e0ed5f9b William Johnston committed Nov 5, 2013
Showing with 10 additions and 12 deletions.
  1. +10 −12 ACSViews.views.inc
View
@@ -655,18 +655,17 @@ function acsviews_views_data() {
'title' => t('Listed'),
'help' => t('Listed'),
'field' => [
- 'handler' => 'views_handler_field',
+ 'handler' => 'views_handler_field_boolean',
'click sortable' => TRUE,
],
'filter' => [
- 'handler' => 'views_handler_filter_string',
+ 'handler' => 'views_handler_filter_boolean_operator',
+ 'type' => 'yes-no',
+ 'use equal' => TRUE,
],
'sort' => [
'handler' => 'views_handler_sort',
],
- 'argument' => [
- 'handler' => 'views_handler_argument_string',
- ],
],
'PhoneNumber' => [
'title' => t('PhoneNumber'),
@@ -817,8 +816,8 @@ function acsviews_views_data() {
'base' => 'accessacs_email',
'base field' => 'EmailId',
'handler' => 'views_handler_relationship',
- 'label' => t('Phone Number Relationship'),
- 'title' => t('Phone Number Relationship'),
+ 'label' => t('Email Address Relationship'),
+ 'title' => t('Email Address Relationship'),
'help' => t('More information on this EmailId relationship'),
],
],
@@ -855,18 +854,17 @@ function acsviews_views_data() {
'title' => t('Listed'),
'help' => t('Listed'),
'field' => [
- 'handler' => 'views_handler_field',
+ 'handler' => 'views_handler_field_boolean',
'click sortable' => TRUE,
],
'filter' => [
- 'handler' => 'views_handler_filter_string',
+ 'handler' => 'views_handler_filter_boolean_operator',
+ 'type' => 'yes-no',
+ 'use equal' => TRUE,
],
'sort' => [
'handler' => 'views_handler_sort',
],
- 'argument' => [
- 'handler' => 'views_handler_argument_string',
- ],
],
'Preferred' => [
'title' => t('Preferred'),

0 comments on commit 22c34a4

Please sign in to comment.