Problem/Motivation
- theme function should be removed from views_ui_rearrange_filter_form
- fix bug: Views 'Sort Criteria' and 'No Results Behavior' are deleted after rearranging
Proposed resolution
- Refactor code to no longer use theme function
- Display the rearranged 'Sort Criteria' and 'No Results Behavior
Remaining tasks
- Refactor Code to no longer use theme function
- Create initial patch to display the criteria
User interface changes
See Proposed resolution
API changes
None
Related Issues
Bug reported by YesCT in #393602: Looking for help with debuggin and training
#1929064: [Change notice] Refactor views_ui_rearrange_form to remove theme function for table render
To Reproduce
The following steps and screenshots describe what happens when rearranging 'Sort Criteria'. The same behavior happens with 'No Results Behavior'
- Go to Home->Administration->Structure->Views
- If no sort criteria, Click add and add some.
- Click to the right of Add and select rearrange.

- Rearrange.

- Select apply. The 'Sort Criteria' is now empty.

Original report by damiankloip
See #1929064: [Change notice] Refactor views_ui_rearrange_form to remove theme function for table render, same issue, different form. It just makes sense to break these up into more manageable patches.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_sort0_display.png | 6.59 KB | quietone |
| #1 | views_sort1_rearrange.png | 17.54 KB | quietone |
| #1 | views_sort2_rearrange.png | 17.35 KB | quietone |
| #1 | views_sort3_display.png | 2.09 KB | quietone |
Comments
Comment #1
quietone commentedComment #1.0
quietone commentedAdd issue summary
Comment #1.1
disasm commentedUpdating summary to include original issue summary tasks
Comment #10
quietone commentedTested on 9.2.x and even went back to 8.1.x and I was unable to reproduce the problems in the IS.
Closing as cannot reproduce.