Problem/Motivation

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.

Steps to reproduce

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!

Proposed resolution

Repair the row-count export.

Remaining tasks

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
https://www.drupal.org/project/vbo_export/issues/3359435

Comments

Summit created an issue. See original summary.

summit’s picture

Issue summary: View changes
astonvictor’s picture

Status: Active » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.