Closed (fixed)
Project:
Entity repository
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Jun 2021 at 08:47 UTC
Updated:
22 Jul 2021 at 14:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
wtrv commentedCreated patch for proposed solution.
Comment #3
wtrv commentedNew patch, adding the langcode as optional parameter in the sort array param.
Comment #4
jeroentComment #6
jeroentCommitted and pushed to 2.0.x. Thanks!
Comment #7
wtrv commentedIt appears this patch does have some adverse effects on multilingual sites.
I propose we update the code so that the default behaviour does not change, but we have the option to disable or override the langcode when adding a sort.
Comment #8
wtrv commentedComment #9
wtrv commentedComment #10
wtrv commentedComment #12
jeroentCommitted and pushed to 2.0.x. Thanks!