/**
* Callback for retrieving views resources.
*
* @param $view_name
* String. The views name.
* @param $display_id
* String (optional). The views display name.
* @param $offset
* Integer (optional). An offset integer for paging.
* @param $limit
* Integer (optional). A limit integer for paging.
* @param $args
* Array (optional). A list of arguments to pass to the view.
* @param $return_type
* String (optional). Whether to return the raw data results (FALSE), the entire views object ('view') or themed results ('theme').
* @param $args
* Array (optional). A list of exposed filters to pass to the view.
*
* @return
* Array. The views return.
*/
function services_views_retrieve($view_name, $display_id = 'default', $args = array(), $offset = 0, $limit = 10, $return_type = FALSE, $filters = array()) {
There have two $args in the documentation of this function, I think that the last one should be '$filters'. And the variable $args should be between $display_id and $offset.
I made these two changes, and hope to be accepted.
Comments
Comment #1
jerenus commentedHere is my patch.
Comment #2
ygerasimov commentedCommitted. Thank you.