Skip to content

Fix: issue displaying history if grouping type is set#3242

Merged
Salvialf merged 2 commits intodevelopfrom
fix/history-range-with-grouping
Apr 16, 2026
Merged

Fix: issue displaying history if grouping type is set#3242
Salvialf merged 2 commits intodevelopfrom
fix/history-range-with-grouping

Conversation

@Salvialf
Copy link
Copy Markdown
Contributor

@Salvialf Salvialf commented Apr 4, 2026

Fixes https://community.jeedom.com/t/historique-dune-info-genere-uncaught-typeerror-haystack-dans-http-error/148400

Source : https://github.com/jeedom/core/blob/master/core/js/history.class.js#L1886

cmd_option.groupingType is set as an array on lines 413 & 682 but a string is required for $cmd->getHistory().

Suggested changelog entry

  • Historique : correction de la sélection de plage de dates (Zoom) avec groupement

@Salvialf Salvialf merged commit e93a437 into develop Apr 16, 2026
6 checks passed
@Mips2648 Mips2648 deleted the fix/history-range-with-grouping branch April 17, 2026 12:06
@Mips2648 Mips2648 changed the title implode groupingType if is array Fix: implode groupingType if is array Apr 18, 2026
@Mips2648 Mips2648 changed the title Fix: implode groupingType if is array Fix: issue displaying history if grouping type is set Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants