You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like this is traced back to the same yii2 issue (feature?) reported by a familiar face in #6036. I've opened a PR to address it by switching $query->count() to count($query->all()).
What happened?
Description
Total number of elements shown in CLI output does not change when using offset
Without
--offset
:With
--offset
:Steps to reproduce
./craft resave/entries
to get the correct count of total entries being saved./craft resave/entries --offset=10
Expected behavior
The second run should show 10 less entries than the first
Actual behavior
Total entries is not updated… however the number of entries saved is correct
Notes
I think this might be an issue with Yii
count
method.Craft CMS version
4.3.6.1
PHP version
8.1
Operating system and version
OSX
Database type and version
Postgres
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: