- Issue created by @Summit
I try to export a lot of rows with a view. The view looks correct on screen, and the row-counter gives nicelly first row 1, second row 2, third row 3...etc
But when I try to export the csv through VBO-export, the rowcounter stays for every row on 1
On drupal 8 there is same sort of problem, see issue:
https://www.drupal.org/project/vbo_export/issues/3184888
🐛
View Result Counter is broken on exports that use batching
Active
I try to export the view through csv for migrating the content (1000+ weblinks) to Drupal 10. Please help!
Build a view with field: Global: View result counter (Counter) or Global: PHP field with output code:
<?php $rownumber = $view->row_index + 1; ?>
<?php print 'nr: "' . $rownumber. '"' ; ?>
Two solutions: or change vbo_export with a patch which contains correct numbering, or build a new field handler (bettercounter), which counts the rows correct. In this issue there is a Drupal 8 solution: https://www.drupal.org/project/vbo_export/issues/3184888 🐛 View Result Counter is broken on exports that use batching Active and here I am trying (I am not a programmer:( a Drupal 7 solution: https://stackoverflow.com/questions/76211445/try-better-counter-for-view...
Building a correct solution
Thanks a lot in advance for your reply,
Active
1.0
Code