Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #55052, comment 14


Ignore:
Timestamp:
02/08/2022 08:23:11 AM (4 years ago)
Author:
azouamauriac
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55052, comment 14

    initial v1  
    33Now if we expand the limit to 1 to 20 or any other number the same thing will happen when the number of tags that contain the search word will be more than the limit.
    44
    5 Although I'm not feeling comfortable with the limit solution I think it's currently the best solution we have for 5.9.1. But what I think should be best are these:
     5Although I'm not feeling comfortable with the limit solution I think it's currently the good solution we have for 5.9.1. But what I think should be best are these:
    66- first, ensure that the previous ajax request is done before launch new one.
    77- second, launch ajax request only when the previous result does not content the current search word, that assume that the previous result is saved somewhere and used as the source of search according to https://api.jqueryui.com/autocomplete/#option-source