Author |
|
tigertech Newbie
Joined: 21 November 2019
Online Status: Offline Posts: 23
|
Posted: 25 November 2020 at 10:11am | IP Logged
|
|
|
In version 8.5.2, I noticed that typing the first few characters if a group name (that is not also an individual contact name) does not autocomplete the group. This worked in versions 8.5.1 and earlier.
This appears to be because of this change between 8.5.1 and 8.5.2:
Code:
--- ./webmail-pro-8.5.1/static/js/ContactsWebclient.app.fdf24d884fd6a8190fc8.js 2020-11-25 09:22:35.894479987 -0800
+++ ./webmail-pro-8.5.2/static/js/ContactsWebclient.app.49830297d9abc702d68a.js 2020-11-25 09:33:01.807480992 -0800
@@ -1557,7 +1557,7 @@
}
;
- Ajax.send('GetContacts', oParameters, function (oResponse) {
+ Ajax.send('GetContactSuggestions', oParameters, function (oResponse) {
var aList = [];
if (oResponse && oResponse.Result && oResponse.Result.List)
{
|
|
|
Changing that line back from "GetContactSuggestions" to "GetContacts" fixes it.
|
Back to Top |
|
|
tigertech Newbie
Joined: 21 November 2019
Online Status: Offline Posts: 23
|
Posted: 25 November 2020 at 11:31am | IP Logged
|
|
|
As a quick reply to my own post, further checking indicates that this is because "public function onGetContactSuggestions" in "modules/PersonalContacts/Module.php" does this:
Code:
$mResult['personal'] = \Aurora\Modules\Contacts\Module::Decorator()->GetContacts(
$aArgs['UserId'],
self::$sStorage,
0,
$aArgs['Limit'],
$aArgs['SortField'],
$aArgs['SortOrder'],
$aArgs['Search']
);
|
|
|
That calls "public function GetContacts" in "modules/Contacts/Module.php" with "$WithGroups" set to false.
Changing $WithGroups to true in "public function onGetContactSuggestions" fixes it:
Code:
--- a/modules/PersonalContacts/Module.php
+++ b/modules/PersonalContacts/Module.php
@@ -220,7 +220,8 @@ class Module extends \Aurora\System\Modu
$aArgs['Limit'],
$aArgs['SortField'],
$aArgs['SortOrder'],
- $aArgs['Search']
+ $aArgs['Search'],
+ '', array(), true
);
}
}
|
|
|
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 25 November 2020 at 10:32pm | IP Logged
|
|
|
Thank you for the detailed feedback! I'm forwarding this to the developers, and I hope the fix you've provided will be included in the next release.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 14 December 2020 at 5:40am | IP Logged
|
|
|
BTW, can we reach you by the email you used to register on this forum to ask you a few questions regarding or product? Thank you.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|