- Issue created by @Summit
With the easiest way to let a row count be possible in views, it is shown on screen, but not on the export.
For me this is needed to know if I have exported all 1000+ rows to csv, so I can Migrate from there to Drupal 10.
Install Views and Views PHP. Add field handler with Views PHP. Like: https://drupal.stackexchange.com/a/99358/109968
Set in Value code
$static = 0;
Set in Output code
<?php
++$static;
print $static;
?>
See on the screen your field adds nicely the rownumbers for every row.
But when I export the pager-range of the view, no row-count is exported. All rows have the value 1!
Repair the row-count export.
This issue is related to earlier issues, but now I see that really everything connected to row-count is not working on export csv!
https://www.drupal.org/project/vbo_export/issues/3184888
🐛
View Result Counter is broken on exports that use batching
Active
https://www.drupal.org/project/vbo_export/issues/3359435
🐛
View Result Counter is broken on exports that use batching
Active
Active
1.0
Code