Quicksearch not working in mobile with android system #4681

Open
opened 2026-02-20 16:21:54 -05:00 by deekerman · 6 comments
Owner

Originally created by @Rascott33 on GitHub (Jan 7, 2022).

Issue

It is my first post on Github, help a newcomer please it is very important to resolve this error.

It is an error that occurs both in versions 7 of SUITECRM and in version 8.0

The Quicksearch function does not show any results when you start typing in its content box. It only works properly on IOS systems.

On Android systems, the browser does not show result when typing in the content box.

Could you verify it?

Thank you, I look forward to your comments.

Expected Behavior

Typing in the Quicksearch box should show similar results after 1 second.

Actual Behavior

It does not show anything if the mobile has an android system and you use an important browser such as Google Chrome.

Possible Fix

Buy you an Iphone, but unfortunately not everyone can have it.

Steps to Reproduce

An example that you can check is:

  1. Use the Android Google Chrome browser.

  2. Create an account within SUITECRM

  3. Then create a new invoice and look in the Account box putting the name of the account.

No results appear.

Context

The bug prevents the use of the popup quick search on mobile with android system. It is a serious problem.

Your Environment

  • SuiteCRM Version used: SuiteCRM-7.11.20 and SuiteCRM 8.0
  • Mobile browser name and version (Chrome Version 97.0.4692.70):
  • Operating System and version (Android 8.1.0):
Originally created by @Rascott33 on GitHub (Jan 7, 2022). #### Issue It is my first post on Github, help a newcomer please it is very important to resolve this error. It is an error that occurs both in versions 7 of SUITECRM and in version 8.0 The Quicksearch function does not show any results when you start typing in its content box. It only works properly on IOS systems. On Android systems, the browser does not show result when typing in the content box. Could you verify it? Thank you, I look forward to your comments. #### Expected Behavior Typing in the Quicksearch box should show similar results after 1 second. #### Actual Behavior It does not show anything if the mobile has an android system and you use an important browser such as Google Chrome. #### Possible Fix Buy you an Iphone, but unfortunately not everyone can have it. #### Steps to Reproduce An example that you can check is: 1) Use the Android Google Chrome browser. 2) Create an account within SUITECRM 3) Then create a new invoice and look in the Account box putting the name of the account. No results appear. #### Context The bug prevents the use of the popup quick search on mobile with android system. It is a serious problem. #### Your Environment * SuiteCRM Version used: SuiteCRM-7.11.20 and SuiteCRM 8.0 * Mobile browser name and version (Chrome Version 97.0.4692.70): * Operating System and version (Android 8.1.0):
Author
Owner

@Mac-Rae commented on GitHub (Jan 10, 2022):

Hi @Rascott33,

This feature is only available in the Updated views of SuiteCRM 8. The classic views and previous versions will not have this feature.

Sadly modules which have line items and some other complex features are not ready for the Updated view yet tho hopefully will be in the near future.

For example, if you hop to Accounts on mobile you should be able to search within the "Assigned To" field fine. Let me know if you have any issues with this and we can reopen this issue.

@Mac-Rae commented on GitHub (Jan 10, 2022): Hi @Rascott33, This feature is only available in the Updated views of SuiteCRM 8. The classic views and previous versions will not have this feature. Sadly modules which have line items and some other complex features are not ready for the Updated view yet tho hopefully will be in the near future. For example, if you hop to Accounts on mobile you should be able to search within the "Assigned To" field fine. Let me know if you have any issues with this and we can reopen this issue.
Author
Owner

@Rascott33 commented on GitHub (Jan 10, 2022):

Thanks Mac-Raer.

I have tried with Suite CRM 8.0 in the account module and I have made a quick search in assigned and it works perfect with Google Chrome and Android system.

We work on Suite CRM 7.11.20 and being able to know which part of the code is what Google Chrome android does not like would be fantastic, because it works perfectly on iPhone. The quicksearch code does not work for some reason on android, it does not run in the account field of the invoice module, but on Iphone it does. It is in the quick search of the account field within the invoice module where we need it to work also for the android system. In Iphone it works perfect, it shows results to the second.

Could you give us some advice on where to start looking for the solution, files or folder where to look for the problem.

include/QuickSearchDefaults.php

include/javascript/quicksearch.js

modules/Home/QuickSearch.php

For example, if you hop to Accounts on mobile you should be able to search within the "Assigned To" field fine.

Could we not take those lines of code that are doing the function correctly in the android system to the account field of the invoice module?

Thanks for your talent.

@Rascott33 commented on GitHub (Jan 10, 2022): Thanks Mac-Raer. I have tried with Suite CRM 8.0 in the account module and I have made a quick search in assigned and it works perfect with Google Chrome and Android system. We work on Suite CRM 7.11.20 and being able to know which part of the code is what Google Chrome android does not like would be fantastic, because it works perfectly on iPhone. The quicksearch code does not work for some reason on android, it does not run in the account field of the invoice module, but on Iphone it does. It is in the quick search of the account field within the invoice module where we need it to work also for the android system. In Iphone it works perfect, it shows results to the second. Could you give us some advice on where to start looking for the solution, files or folder where to look for the problem. include/QuickSearchDefaults.php include/javascript/quicksearch.js modules/Home/QuickSearch.php _For example, if you hop to Accounts on mobile you should be able to search within the "Assigned To" field fine._ Could we not take those lines of code that are doing the function correctly in the android system to the account field of the invoice module? Thanks for your talent.
Author
Owner

@Rascott33 commented on GitHub (Jan 27, 2022):

Is there no way to solve this problem? This is a compatibility issue on Android systems with browsers like Google Chrome. Quicksearch in the account box in invoice creation works perfectly, but in Google Chrome android it doesn't work for some reason. Can we talk in other more private places if it is more correct? Let me know, I would like an expert to provide me with that service.

@Rascott33 commented on GitHub (Jan 27, 2022): Is there no way to solve this problem? This is a compatibility issue on Android systems with browsers like Google Chrome. Quicksearch in the account box in invoice creation works perfectly, but in Google Chrome android it doesn't work for some reason. Can we talk in other more private places if it is more correct? Let me know, I would like an expert to provide me with that service.
Author
Owner

@Mac-Rae commented on GitHub (Jan 28, 2022):

Hi @Rascott33,

Apologies that this issue was closed: It does appear this is an issue with Suite 7.
As such, I'll reopen this issue and move it across to the S7 Repo (Salesagility/SuiteCRM) where we will investigate further.

@Mac-Rae commented on GitHub (Jan 28, 2022): Hi @Rascott33, Apologies that this issue was closed: It does appear this is an issue with Suite 7. As such, I'll reopen this issue and move it across to the S7 Repo (Salesagility/SuiteCRM) where we will investigate further.
Author
Owner

@Rascott33 commented on GitHub (Jan 28, 2022):

Thanks!!! It seems that it is related to the autocomplete function of Google Chrome in its Android version and the autocomplete function of YUI and javascript that Suite CRM has.

I think it is in the Suite CRM javascript that does the function of showing results in the quicksearch where its incompatibility with Google Chrome in its Android version should be investigated.

I'm running tests on Suite's javascript cache to try to see behavior changes in the Google Chrome Android browser.

I appreciate that you shed light on this problem that limits the functionality of Suite CRM in both versions 7 and version 8.

I will publish any news and I look forward to your news.

@Rascott33 commented on GitHub (Jan 28, 2022): Thanks!!! It seems that it is related to the autocomplete function of Google Chrome in its Android version and the autocomplete function of YUI and javascript that Suite CRM has. I think it is in the Suite CRM javascript that does the function of showing results in the quicksearch where its incompatibility with Google Chrome in its Android version should be investigated. I'm running tests on Suite's javascript cache to try to see behavior changes in the Google Chrome Android browser. I appreciate that you shed light on this problem that limits the functionality of Suite CRM in both versions 7 and version 8. I will publish any news and I look forward to your news.
Author
Owner

@Rascott33 commented on GitHub (Jan 28, 2022):

Jaume of SinergiaCRM who collaborates in the improvement of Suite CRM on github helps us with this answer:

  1. I have been able to reproduce the problem on Android 11.

  2. I have found these 2 links about the incompatibility between the autocomplete.js library and Android:

https://www.drupal.org/project/drupal/issues/2909128

https://stackoverflow.com/questions/18656573/jquery-autocomplete-working-in-chrome-but-not-in-android-using-phonegap

  1. I have tried to understand how it is implemented in SuiteCRM and I think it depends on these 2 files (next to it I indicate its minimised version):

include/javascript/yui/build/autocomplete/autocomplete.js
(include/javascript/yui/build/autocomplete/autocomplete-min.js)

jssource/src_files/include/javascript/quicksearch.js (include/javascript/quicksearch.js)

The code of both files is grouped into sugar_grp1_yui.js

@Rascott33 commented on GitHub (Jan 28, 2022): Jaume of SinergiaCRM who collaborates in the improvement of Suite CRM on github helps us with this answer: 1) I have been able to reproduce the problem on Android 11. 2) I have found these 2 links about the incompatibility between the autocomplete.js library and Android: https://www.drupal.org/project/drupal/issues/2909128 https://stackoverflow.com/questions/18656573/jquery-autocomplete-working-in-chrome-but-not-in-android-using-phonegap 3) I have tried to understand how it is implemented in SuiteCRM and I think it depends on these 2 files (next to it I indicate its minimised version): include/javascript/yui/build/autocomplete/autocomplete.js (include/javascript/yui/build/autocomplete/autocomplete-min.js) jssource/src_files/include/javascript/quicksearch.js (include/javascript/quicksearch.js) The code of both files is grouped into sugar_grp1_yui.js
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#4681
No description provided.