[wp-trac] [WordPress Trac] #43656: Media attachment filter does not work after switching list mode to grid for image attachment filter

WordPress Trac noreply at wordpress.org
Thu Jun 4 20:44:22 UTC 2020


#43656: Media attachment filter does not work after switching list mode to grid for
image attachment filter
-------------------------------------------------+-------------------------
 Reporter:  itzmekhokan                          |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:  4.9.4
 Severity:  major                                |  Resolution:
 Keywords:  has-screenshots needs-patch dev-     |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by zodiac1978):

 Replying to [comment:10 adamsilverstein]:
 > [...] the other idea to explore would be to properly select the filtered
 item in the grid mode when switching (assuming that fixes the behavior you
 noted).

 Hi @adamsilverstein - exactly, this is what I meant by this:
 > As an alternative we could convert the filter to the correct dropdown
 setting. But this converting would need some JS, I think.

 I will prepare a patch for the first idea!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43656#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list