czottmann / obsidian-actions-uri

A plugin for Obsidian (https://obsidian.md) that adds additional `x-callback-url` endpoints to the app for common actions — it's a clean, super-charged addition to Obsidian URI.
https://zottmann.dev/obsidian-actions-uri/
MIT License
138 stars 6 forks source link

[ZCO-143] Deal with incorrectly nested Dataview table result objects #79

Closed czottmann closed 1 year ago

czottmann commented 1 year ago

For some TABLE queries, DV will return a three-dimensional array instead of a two-dimensional one.

Expected:

[
  ["column 1a", "column 1b"],
  ["column 2a", "column 2b"]
]

Actual (sometimes):

[
  [
    ["column 1a", "column 1b"],
    ["column 2a", "column 2b"]
  ]
]

Not sure what's the cause but I'll need to account for this.

ZCO-143