-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataObjectBatchListing ignores ->setOffset() #2714
Comments
@hethehe honestly, not sure... we never actually had in mind that the BatchList can use a offset :D. |
@dpfaffenbauer We tried to set an offset for the Are you interested in a PR that changes the |
@hethehe yes, we are interested. it should be tested anyway, maybe you can add another test for offests? |
Just realized, that this is not a problem of your |
gotcha, then we can close this? |
yes, closed |
Can this issue be opened again please? CoreShop/src/CoreShop/Component/Pimcore/BatchProcessing/DataObjectBatchListing.php Lines 86 to 94 in 38d6eca
see also pimcore/pimcore#17618 (comment) |
@hethehe can you give it a test? |
If we create a
Listing
and set a offset with$listing->setOffset(100)
and use it with theCoreShop\Component\Pimcore\BatchProcessing\DataObjectBatchListing
it gets ignored.I think the problem is that you get the
loadIdList()
and thegetTotalCount()
from theDAO
instead directly from the$list
Is there a special reason you use the
$dao
instead the$list
directly?The text was updated successfully, but these errors were encountered: