Suitecrm: Ability to Map filtered items is no longer available using the Select ALL option of all tested modules

Created on 4 Feb 2017  路  2Comments  路  Source: salesagility/SuiteCRM



Ability to Map filtered items is no longer available using the Select ALL option of all modules. Using Select Page or selecting individual items from Listview will limit those items displayed on the map.

Issue


With any module tested (Accounts, Meetings, Contacts & Opportunities), if you produce a filtered list of data via the Search screen and then choose Select All and Map, the map produced will contain all of the rows in the module rather than the filtered list.
I am unable to test this on the SalesAgility SuiteCRM Demo page because the ability to Map is no longer available there due to the lack of the Google API key.
I have fixed this problem on my system using the information in Pull #2536 and I can produce maps now.

Expected Behavior


Map data should be limited to those items selected with Select ALL. Select ALL does work correctly for Export so it appears that this problem is with the interface with JJWG Maps.

Actual Behavior


Map data includes all rows in the related module when you select Select All but will be limited to a filtered set if you select individual pages or selected items.

Possible Fix

Steps to Reproduce


  1. View Opportunities/Contacts/Meetings/Accounts/Meetings, etc
  2. Use Search filter options to filter ListView (note number of rows)
  3. Choose Select All
  4. Choose Map
    Note that the Map includes all rows stored for the module that have geocoded addresses

Context



I think that this is a medium priority bug because you can get around it by using Select Page or Selecting individual items

Your Environment

  • SuiteCRM Version used: 7.7.9
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Chrome Version 56.0.2924.87
  • Environment name and version (e.g. MySQL, PHP 7): MySQL 5.5.40 PHP 5
  • Operating System and version (e.g Ubuntu 16.04): Ubuntu 14.04
Important Fix Proposed Bug

Most helpful comment

Hi,

This bug is tagged as "Fix proposed".
However, the Fix is not about Ability to Map filtered items.
This fix is just about using a Google API key.

So I would suggest you remove that tag and set a higher priority as there is no solution currently. You can't use record or page select when you want to map hundreds of records.

All 2 comments

Hi,

This bug is tagged as "Fix proposed".
However, the Fix is not about Ability to Map filtered items.
This fix is just about using a Google API key.

So I would suggest you remove that tag and set a higher priority as there is no solution currently. You can't use record or page select when you want to map hundreds of records.

After a little digging i can only suggest that it has to involve:
include\export_utils.php
\modules\jjwg_Maps\controller.php

Was this page helpful?
0 / 5 - 0 ratings