Problem/Motivation
Problems with the sort widgets configuration
Steps to reproduce
When trying to manage sort widget.
Proposed resolution
Need to check for empty array or objects.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | usort_solr_sort_wigdet.patch | 697 bytes | sundeep88 |
| Screenshot from 2023-10-04 18-38-22.png | 299.96 KB | sundeep88 |
Comments
Comment #2
sundeep88 commentedComment #3
peri22 commentedI confirmed this on 1.x HEAD. The same line causes this and #3488348: Sort weight is not respected.
NULL, anduasort()expects an array — so opening the manage form the first time is a fatal error.I verified both states: the form crashes before the MR and builds fine after it.
Comment #4
peri22 commentedComment #6
peri22 commentedFixed by the same change, committed in #3488348: Sort weight is not respected.