Skip to content

[BUG] EvenRow and OddRow reversed? #8738

@BurningTreeC

Description

@BurningTreeC

Describe the bug

While creating a table using a filter I wanted to apply the evenRow and oddRow classes.
The way I did it, the first row "1" would get the oddRow class because "1" is odd if I recall correctly.
Then I compared with how TiddlyWiki parses the | this is a table cell | this is another table cell | constructs and I've seen that the first row gets the evenRow class.

Is this a bug or is there a reason for this?

Expected behavior

I would expect the first row to have the oddRow class applied.
I don't believe it should be evenRow - even if we think that it has index 0 - it's the 1st row.

To Reproduce

No response

Screenshots

No response

TiddlyWiki Configuration

Current prerelease

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityBreaks backwards compatibility; we do it sometimes so does not mean "wont fix"documentationImprovements to documentation; Check out https://edit.tiddlywiki.com

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions