dup_view_sort_fields


Description:

[ Version ( since = "3.50" ) ]
public BookClientViewSortFields dup_view_sort_fields (size_t view_id)

Returns currently used sort fields for manual query views.

The returned array is NULL only if the view could not be found. The default sort is by the file-as filed in ascending order.

The array is terminated by an item with an e_contact_field_last field.

Free the returned array with e_book_client_view_sort_fields_free, when no longer needed.

Note: This function should be used only with E_BOOK_CLIENT_VIEW_FLAGS_MANUAL_QUERY views.

Parameters:

this

an BookBackend

view_id

a view identifier

Returns:

current sort fields for the view_id, as an BookClientViewSortFields array, or null, when the view could not be found.