[wp-trac] [WordPress Trac] #38911: Prevent Media Library search making an AJAX request for each char typed.

WordPress Trac noreply at wordpress.org
Tue Feb 14 01:02:11 UTC 2017


#38911: Prevent Media Library search making an AJAX request for each char typed.
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  adamsilverstein
  brandomeniconi         |      Status:  assigned
     Type:  enhancement  |   Milestone:  4.8
 Priority:  normal       |     Version:  4.6.1
Component:  Media        |  Resolution:
 Severity:  normal       |     Focuses:  javascript, administration,
 Keywords:  has-patch    |  performance
  commit                 |
-------------------------+-------------------------------------------------

Comment (by dd32):

 Untested, but the approach taken in [attachment:38911.2.diff] looks good
 to me. Debouncing all search actions like that looks like the best way
 forward.

 @adamsilverstein What needs to be done here to get a bit of movement?

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


More information about the wp-trac mailing list