Skip to content
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

API: getVariants add parameter sortby, offset, limit, order, attributes like findByFilter #1396

Open
zonky2 opened this issue Apr 3, 2020 · 1 comment
Assignees
Labels
enhancement This issue is about an enhancement (aka new feature)
Milestone

Comments

@zonky2
Copy link
Contributor

zonky2 commented Apr 3, 2020

API: getVariants add parameter sortby, offset, limit, order, attributes like findByFilter

it is currently not possible to receive the queried variants as a sorted list

public function getVariants($objFilter);

core/src/IMetaModel.php

Lines 190 to 197 in 93e8458

public function findByFilter(
$objFilter,
$strSortBy = '',
$intOffset = 0,
$intLimit = 0,
$strSortOrder = 'ASC',
$arrAttrOnly = array()
);

@discordier discordier added this to the Future milestone Apr 3, 2020
@zonky2 zonky2 added the enhancement This issue is about an enhancement (aka new feature) label Apr 3, 2020
@discordier
Copy link
Member

This will introduce an API break.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue is about an enhancement (aka new feature)
Projects
None yet
Development

No branches or pull requests

2 participants