Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
filter.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2013 at 19:16 UTC
Updated:
29 Jul 2014 at 22:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
joelpittetSomeone already did theme_filter_admin_overview as it was committed. Here is the other one.
Comment #3
joelpittetHmm not sure what I am doing wrong but this fixed a few things. Seems my table's row weights aren't loading in the right order. After many different ways of doing the same thing I am giving up. Any pointers would be great.
Comment #5
duellj commentedFixed failing tests from #3. Filters weren't being sorted after the theme function was removed, since element_children() was never called. Also, filter_admin_format_form_submit() was expecting filters values to be an array, so a #tree needed to be added.
Comment #6
joelpittetThanks a bunch @duellj !!! That was totally the ticket and I learned something. That #tree bit didn't seem to have any affect so this little patch just removes it. The tree comes down from the parent so that should be fine.
Comment #7
jibranCode looks good. conversion is fine. RTBC for me.
Before
After
Comment #8
catchCommitted/pushed to 8.x, thanks!
Comment #9.0
(not verified) commentedUpdate summary to indicate theme_filter_admin_overview was already converted.