mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-07-24 06:43:38 +00:00
When setting up an automation to create a DM or a post with a report on a recurring basis, and using a Data Explorer query that has parameters, we encounter an error. The `.params_to_hash` method currently expects an array of arrays for the parameters, but in reality they seem to be arrays of hashes. This change makes `.params_to_hash` work with arrays of hashes. It also preserves the ability to work with nested arrays in case this is used somewhere else.
Data Explorer Plugin
This plugin allows admins to run SQL queries against the live Discourse database, including parameterized queries and formatting for several common column types.
For more information, please see: https://meta.discourse.org/t/data-explorer-plugin/32566
Description
Languages
Ruby
55.5%
JavaScript
41.9%
SCSS
2.6%