diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2024-07-25 15:56:48 +0200 |
---|---|---|
committer | Guru <alexandrgproductengine@lindenlab.com> | 2024-07-25 21:16:49 +0200 |
commit | bc50d2c7d57618846a6cb318cd12e006270b64ae (patch) | |
tree | 2fd40ef9c5898903d95dbfe0dc43c7b685c1a448 /indra/newview/llpanelgrouproles.cpp | |
parent | 4295a1f66033f9417c7668c54128515ee0a35558 (diff) |
#1318 Pagination in the Group Interface (rework)
Diffstat (limited to 'indra/newview/llpanelgrouproles.cpp')
-rw-r--r-- | indra/newview/llpanelgrouproles.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llpanelgrouproles.cpp b/indra/newview/llpanelgrouproles.cpp index 864d73683e..4404efff98 100644 --- a/indra/newview/llpanelgrouproles.cpp +++ b/indra/newview/llpanelgrouproles.cpp @@ -1361,8 +1361,9 @@ void LLPanelGroupMembersSubTab::activate() if (!gdatap || !gdatap->isMemberDataComplete()) { const U32 page_size = 50; - std::string sort_column = mMembersList->getSortColumnName(); - LLGroupMgr::getInstance()->sendCapGroupMembersRequest(mGroupID, page_size, 0, sort_column); + std::string sort_column_name = mMembersList->getSortColumnName(); + bool sort_descending = !mMembersList->getSortAscending(); + LLGroupMgr::getInstance()->sendCapGroupMembersRequest(mGroupID, page_size, 0, sort_column_name, sort_descending); } if (!gdatap || !gdatap->isRoleMemberDataComplete()) |