We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to order my products by specific attribute value. I mean for example, i always want my blue shoes before the red ones.
I looked into FullText/Collection.php , and found the $sortOrder you talk about in your documentation
It's written : $sortOrders = ['entity_id' => 'asc'];
$sortOrders = ['entity_id' => 'asc'];
Maybe i don't understand, but it seems it's more: $sortOrders = ['entity_id' =>[direction=> 'asc']];
$sortOrders = ['entity_id' =>[direction=> 'asc']];
Am i right ? But i still don't understand how to sort my collection... with option_text_color, but what to put in it ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to order my products by specific attribute value. I mean for example, i always want my blue shoes before the red ones.
I looked into FullText/Collection.php , and found the $sortOrder you talk about in your documentation
It's written :
$sortOrders = ['entity_id' => 'asc'];
Maybe i don't understand, but it seems it's more:
$sortOrders = ['entity_id' =>[direction=> 'asc']];
Am i right ?
But i still don't understand how to sort my collection... with option_text_color, but what to put in it ?
The text was updated successfully, but these errors were encountered: