- Issue created by @bolecha
- 🇨🇦Canada liquidcms
We see the same issue with D9.5.
Another site i do we have not seen this issue.
- Status changed to Needs review
over 1 year ago 1:45am 17 March 2023 - 🇨🇦Canada liquidcms
for us, we have a tab which is empty.. so it is showing up with a blank label. More importantly, the tab object doesn't have a #weight. This messes up the sort function used by this module.
adding this at the top of their usort call in their performSort method fixes the issue:
if (!isset($item1['#weight']) || !isset($item2['#weight'])) { return 1; }
but adding some sort of visibility rule or fixing this module to not show empty tabs is likely a better solution
- 🇪🇸Spain bolecha
Thank you very much for the code!!
At least it fixes my issue! - Status changed to Fixed
8 months ago 3:30pm 13 April 2024 - 🇨🇦Canada mandclu
Thanks for reporting this, and for the suggested fix. Merged in.
Automatically closed - issue fixed for 2 weeks with no activity.