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

🐞 Table Roller displays value from wrong column if there are empty cells in a table #270

Open
3 of 7 tasks
simonvanbernem opened this issue Nov 9, 2023 · 0 comments
Open
3 of 7 tasks

Comments

@simonvanbernem
Copy link

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

When using the following expression, a random value from the B-column from the table marked with ^test-table in the note Namen should be picked and displayed

`dice: [[Namen#^test-table]]|B`

Current behaviour

For the table given in the reproduction section, a value from column C will be picked instead:

grafik

If the empty cells in the given table are filled, a value from column B is picked instead. So in this case, the behavior is correct.

Reproduction

Placed in note Namen:

| A   | B   | C   |
| --- | --- | --- |
| aa  | ba  | ca  |
| ab  |     | cb  |
| ac  |     | cc  |
| ad  |     | cd  |
| ae  |     | ce  | ^test-table

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.4.16 and 1.4.13

Plugin Version

10.3.0

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

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

No branches or pull requests

1 participant