Ted Johansson 41ee039443
FIX: Discourse automation reports with parameters (#363)
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.
2025-03-13 17:50:16 +08:00
2025-02-11 16:42:59 +01:00
2024-10-14 13:39:24 +02:00
2023-12-01 16:47:54 +01:00
2025-02-24 11:21:21 +08:00
2022-02-21 20:59:32 +01:00

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
SQL Queries for admins in Discourse
Readme MIT 3 MiB
Languages
Ruby 55.5%
JavaScript 41.9%
SCSS 2.6%