mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Quicksearch not working in mobile with android system #4681
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#4681
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
Use the Android Google Chrome browser.
Create an account within SUITECRM
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
@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.
@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 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.
@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.
@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):
Jaume of SinergiaCRM who collaborates in the improvement of Suite CRM on github helps us with this answer:
I have been able to reproduce the problem on Android 11.
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
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