Skip to content

Result Number field always starts at 0 regardless of "Start Number" setting #2431

@bennemann

Description

@bennemann

When adding the Result Number field (type sequence) to a View, the output always starts at 0 even if the "Start Number" setting is configured to begin at 1 or another value.

This only affects the field when added to the View layout. The {sequence} merge tag works correctly and respects the configured start number.


To reproduce

  1. Create a View and add the Result Number field.
  2. Load the View on the frontend.
  3. Observe that the field starts at 0.

Expected behavior
The Result Number field should start at the value defined in the Start Number setting, just like the {sequence} merge tag does.


Reproduced here:
https://debug.try.gravitykit.com/view/testing-result-number/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions