Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reports with date parameters don't paginate #10384

Open
MaxSantolo opened this issue Mar 19, 2024 · 4 comments
Open

Reports with date parameters don't paginate #10384

MaxSantolo opened this issue Mar 19, 2024 · 4 comments
Labels
Area: Reports Issues & PRs related to all things regarding reports Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Severity: Moderate Key function failed, but no or little impact Type: Bug Bugs within the core SuiteCRM codebase

Comments

@MaxSantolo
Copy link

After the creation of a report with date parameters (like from - to) and using "value" as parameter so that the user can enter a specific date, and after adding a main grouping of the report based on a "feedback field": if one of the groups has more than 20 items clicking the paging results in empty group.

Expected Behavior

Pagination should show the next 20 group results.

Actual Behavior

Pagination shows empty list and disables pagination buttons.

Steps to Reproduce

  1. Create a report with "from" and "to" value of date parameters
  2. Group the report based on another field ("status" for example)
  3. Choose the dates and activate the report: no pagination

Context

I need a report of leads grouped by feedback in a period of parametric dates (from - to)

Your Environment

  • SuiteCRM Version used: 8.5
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Chrome and Firefox
  • Environment name and version (e.g. MySQL, PHP 7): PHP 8.1, MariaDb
  • Operating System and version (e.g Ubuntu 16.04): Debian 11
@serhiisamko091184 serhiisamko091184 added the Status:Requires Updates Issues & PRs which requires input or update from the author label Mar 20, 2024
@serhiisamko091184
Copy link
Contributor

Hello @MaxSantolo,

thanks for raising the issue,

I'm afraid I'm unable to replicate that behavior,

would you please be more specific about the report setting and add some screenshots if possible (particularly fields used and conditions applied)?

I'd like to clarify as well about modules - is it only the case for the Leads module or several modules?

Thanks in advance!

Regards,
Serhii

@MaxSantolo
Copy link
Author

MaxSantolo commented Mar 21, 2024

@serhiisamko091184
Modules Impacted are leads and contacts.

Screenshot 2024-03-21 alle 08 57 34
Screenshot 2024-03-21 alle 08 57 21

Search
Screenshot 2024-03-21 alle 08 58 58

After Next Page click
Screenshot 2024-03-21 alle 08 59 11

@johnM2401 johnM2401 transferred this issue from salesagility/SuiteCRM-Core Mar 22, 2024
@serhiisamko091184 serhiisamko091184 added Type: Bug Bugs within the core SuiteCRM codebase Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds Area: Reports Issues & PRs related to all things regarding reports Severity: Moderate Key function failed, but no or little impact and removed Status:Requires Updates Issues & PRs which requires input or update from the author labels Mar 22, 2024
@serhiisamko091184
Copy link
Contributor

serhiisamko091184 commented Mar 22, 2024

Hello @MaxSantolo,

thank you for your quick response,

the issue has been moved to the SuiteCRM repo as present in v.7 as well.

I was not able to achieve the same behavior from the very first time, because having this set of local settings works fine for me:
image

One more time thanks for bringing this up to our attention!

Regards,
Serhii

@serhiisamko091184 serhiisamko091184 added Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds and removed Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds labels Mar 22, 2024
@MaxSantolo
Copy link
Author

Hello @serhiisamko091184,
I can confirm It's a problem of date format. With mm/dd/yyyy works perfectly. Probably something in the js.
Let me know if I can help in any way.
Regards,
Max

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Reports Issues & PRs related to all things regarding reports Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Severity: Moderate Key function failed, but no or little impact Type: Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

No branches or pull requests

2 participants