|
|
@ -50,7 +50,7 @@ function upei_roblib_ill_views_api() { |
|
|
|
function upei_roblib_ill_views_data() { |
|
|
|
function upei_roblib_ill_views_data() { |
|
|
|
$data['upei_roblib_ill_request']['table']['group'] = t('UPEI Roblib ILL'); |
|
|
|
$data['upei_roblib_ill_request']['table']['group'] = t('UPEI Roblib ILL'); |
|
|
|
$data['upei_roblib_ill_request']['table']['base'] = array( |
|
|
|
$data['upei_roblib_ill_request']['table']['base'] = array( |
|
|
|
'field' => 'id', // This is the identifier field for the view. |
|
|
|
'field' => 'id', |
|
|
|
'title' => t('UPEI Roblib ILL Request'), |
|
|
|
'title' => t('UPEI Roblib ILL Request'), |
|
|
|
'help' => t('Table for logging ILL Request'), |
|
|
|
'help' => t('Table for logging ILL Request'), |
|
|
|
'weight' => -10, |
|
|
|
'weight' => -10, |
|
|
@ -61,7 +61,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Patron or Campus ID.'), |
|
|
|
'help' => t('Patron or Campus ID.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -95,7 +95,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Patron Email Address.'), |
|
|
|
'help' => t('Patron Email Address.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -112,7 +112,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Patron Lastname.'), |
|
|
|
'help' => t('Patron Lastname.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -130,7 +130,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Patron Firstname.'), |
|
|
|
'help' => t('Patron Firstname.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -147,7 +147,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Patron Department.'), |
|
|
|
'help' => t('Patron Department.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -164,7 +164,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Patron Type.'), |
|
|
|
'help' => t('Patron Type.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -181,7 +181,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Authors Fullname.'), |
|
|
|
'help' => t('Authors Fullname.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -198,7 +198,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Book or Patron Title.'), |
|
|
|
'help' => t('Book or Patron Title.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -215,7 +215,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Article or Chapter Title.'), |
|
|
|
'help' => t('Article or Chapter Title.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -232,7 +232,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('ISSN.'), |
|
|
|
'help' => t('ISSN.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -249,7 +249,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('ISBN.'), |
|
|
|
'help' => t('ISBN.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -266,7 +266,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Article or Chapter author.'), |
|
|
|
'help' => t('Article or Chapter author.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -283,7 +283,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Article Date.'), |
|
|
|
'help' => t('Article Date.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -300,7 +300,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('The pages requested.'), |
|
|
|
'help' => t('The pages requested.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -317,7 +317,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Volume.'), |
|
|
|
'help' => t('Volume.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -334,7 +334,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Issue.'), |
|
|
|
'help' => t('Issue.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -351,7 +351,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('Article or Chapter author.'), |
|
|
|
'help' => t('Article or Chapter author.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -368,7 +368,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('The Relais request id.'), |
|
|
|
'help' => t('The Relais request id.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -385,7 +385,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('The reason a request failed.'), |
|
|
|
'help' => t('The reason a request failed.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -402,7 +402,7 @@ function upei_roblib_ill_views_data() { |
|
|
|
'help' => t('The notes related to this request.'), |
|
|
|
'help' => t('The notes related to this request.'), |
|
|
|
'field' => array( |
|
|
|
'field' => array( |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'handler' => 'views_handler_field', |
|
|
|
'click sortable' => TRUE, // This is use by the table display plugin. |
|
|
|
'click sortable' => TRUE, |
|
|
|
), |
|
|
|
), |
|
|
|
'sort' => array( |
|
|
|
'sort' => array( |
|
|
|
'handler' => 'views_handler_sort', |
|
|
|
'handler' => 'views_handler_sort', |
|
|
@ -415,9 +415,6 @@ function upei_roblib_ill_views_data() { |
|
|
|
), |
|
|
|
), |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Example timestamp field. |
|
|
|
|
|
|
|
$data['upei_roblib_ill_request']['time_submitted'] = array( |
|
|
|
$data['upei_roblib_ill_request']['time_submitted'] = array( |
|
|
|
'title' => t('The Date and Time a request was submitted'), |
|
|
|
'title' => t('The Date and Time a request was submitted'), |
|
|
|
'help' => t('The Date and Time a request was submitted.'), |
|
|
|
'help' => t('The Date and Time a request was submitted.'), |
|
|
|