Open cmaudoux opened 2 days ago
Set params like this:
$attributes_map = array( 'fullname' => array( 'attribute' => 'cn', 'faclass' => 'user-circle', 'type' => 'text' ), 'identifier' => array( 'attribute' => 'uid', 'faclass' => 'id-card', 'type' => 'text' ), 'mail' => array( 'attribute' => 'mail', 'faclass' => 'envelope-o', 'type' => 'mailto' ), 'lastname' => array( 'attribute' => 'sn', 'faclass' => 'user', 'type' => 'text' ), 'firstname' => array( 'attribute' => 'givenname', 'faclass' => 'user-o', 'type' => 'text' ), ................... $search_attributes = array('sn', 'givenname', 'uid'); $search_use_substring_match = true; $search_result_items = array('identifier', 'lastname', 'mail'); $search_result_title = "fullname"; $search_result_sortby = "lastname"; $search_result_linkto = array("fullname");
Maybe I do not understand and there is a misconfiguration... Results are not sorted by lastname or last column.
I tried $search_result_sortby = "sn"; and it is the same. Seems results are always sorted by mail...
Set params like this:
Maybe I do not understand and there is a misconfiguration... Results are not sorted by lastname or last column.
I tried $search_result_sortby = "sn"; and it is the same. Seems results are always sorted by mail...